Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maxzinkus committed May 25, 2023
1 parent e37b951 commit 5f72224
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ jobs:

- name: Push to server
run: |
sudo apt install -y rsync ssh
cd $GITHUB_WORKSPACE/..
mv AtypicalSpeech Webapp
rsync -e "ssh -i ~/.ssh/private.key" -avz Webapp $USER@$HOST:~/
ssh -i ~/.ssh/private.key $USER@$HOST -- "./deploy-build.sh"
cp -R AtypicalSpeech Webapp
rsync -e "ssh -i ~/.ssh/private.key -o StrictHostKeyChecking=no" -avz Webapp $USER@$HOST:~/
ssh -i ~/.ssh/private.key $USER@$HOST -o StrictHostKeyChecking=no -- "./deploy-build.sh"
shell: bash

0 comments on commit 5f72224

Please sign in to comment.