mirror of
https://github.com/hazemKrimi/touch-programming.git
synced 2026-05-01 18:20:26 +00:00
Debugging deployment workflow
This commit is contained in:
@@ -43,5 +43,10 @@ jobs:
|
|||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "$DEPLOY_SSH_KEY" > ~/.ssh/id_vps_deploy
|
echo "$DEPLOY_SSH_KEY" > ~/.ssh/id_vps_deploy
|
||||||
chmod 600 ~/.ssh/id_vps_deploy
|
chmod 600 ~/.ssh/id_vps_deploy
|
||||||
scp -r client/build $USER@$HOST:/var/www/touch-programming.hazemkrimi.tech/public
|
|
||||||
scp -r server/executable $USER@$HOST:/var/www/touch-programming.hazemkrimi.tech/api
|
echo "Host *" > ~/.ssh/config
|
||||||
|
echo " StrictHostKeyChecking no" >> ~/.ssh/config
|
||||||
|
echo " UserKnownHostsFile /dev/null" >> ~/.ssh/config
|
||||||
|
|
||||||
|
scp -i ~/.ssh/id_vps_deploy -r client/build $USER@$HOST:/var/www/touch-programming.hazemkrimi.tech/public
|
||||||
|
scp -i ~/.ssh/id_vps_deploy server/executable $USER@$HOST:/var/www/touch-programming.hazemkrimi.tech/api
|
||||||
|
|||||||
Reference in New Issue
Block a user