Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gitdog01 authored Dec 21, 2023
1 parent e3ed465 commit 9d73769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
scp -P ${{ secrets.SSH_PORT }} next-build.tar.gz ${{ secrets.SSH_USERNAME }}@${{ secrets.SERVER_IP_ADDRESS }}:~
ssh -v -p ${{ secrets.SSH_PORT }} ${{ secrets.SSH_USERNAME }}@${{ secrets.SERVER_IP_ADDRESS }} << 'ENDSSH'
sudo su
mv ~/next-build.tar.gz /home/***/pi-don-fe/
mv /home/ubuntu/next-build.tar.gz /home/***/pi-don-fe/
cd /home/ubuntu/pi-don-fe
git pull origin main
tar -xzf next-build.tar.gz
Expand Down

0 comments on commit 9d73769

Please sign in to comment.