Skip to content

Commit

Permalink
Update deploy2prod.yml
Browse files Browse the repository at this point in the history
new backup with tar.gz
  • Loading branch information
martinheppner authored Apr 18, 2024
1 parent d09f839 commit ce3e566
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy2prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
key: ${{ secrets.PROD_SSH_PRIVATE_KEY }}
port: ${{ secrets.PROD_REMOTE_PORT }}
script: |
rm -r /root/suchseite/app-backup/
cp -r /root/suchseite/app/ /root/suchseite/app-backup/
rm /root/suchseite/backup/app.tar.gz
tar -zcvf /root/suchseite/backup/app.tar.gz /root/suchseite/app/
- name: Deploy to Server
uses: easingthemes/ssh-deploy@main
with:
Expand Down

0 comments on commit ce3e566

Please sign in to comment.