Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
crab85193 committed Dec 15, 2023
1 parent bf14dbd commit 6160e97
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
uses: actions/checkout@v2
- name: Deploy with rsync
run: |
ls -a
rsync -auvPz ./ ${{ secrets.SSH_HOST }}:/home/${{ secrets.SSH_USER }}/tely-store-manager/
ssh ${{ secrets.SSH_HOST }} 'cd /home/$USER/tely-store-manager; docker-compose -f docker-compose.prod.yml down;docker-compose -f docker-compose.prod.yml up -d --build'
ssh ${{ secrets.SSH_HOST }} 'cd /home/$USER/tely-store-manager; docker-compose -f docker-compose.prod.yml down; docker system prune -a -f; docker volume prune -a -f'
rsync -auvPz ./ ${{ secrets.SSH_HOST }}:/home/${{ secrets.SSH_USER }}/tely-store-manager//
ssh ${{ secrets.SSH_HOST }} 'cd /home/$USER/tely-store-manager; docker-compose -f docker-compose.prod.yml up -d --build'

0 comments on commit 6160e97

Please sign in to comment.