Skip to content

Commit

Permalink
* Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
korsakovs committed Dec 28, 2023
1 parent fdf18a3 commit 8717d4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ jobs:
- run: docker --context remote compose -f docker-compose.yml build
# as we can't set --project-directory for a remote context, we have to use "ssh" to run docker compose
- run: scp ./docker-compose.yml ${{ secrets.WWF_SSH_USERNAME }}@${{ secrets.WWF_SERVER }}:~/thank-you-app
- run: cd ~/thank-you-app
- run: ssh ${{ secrets.WWF_SSH_USERNAME }}@${{ secrets.WWF_SERVER }} "docker compose -f docker-compose.yml up -d --force-recreate"
- run: ssh ${{ secrets.WWF_SSH_USERNAME }}@${{ secrets.WWF_SERVER }} "cd ~/thank-you-app && docker compose -f docker-compose.yml up -d --force-recreate"
- run: docker --context remote image prune -a -f
- run: docker --context remote image container -a -f
- run: docker --context remote volume prune -a -f

0 comments on commit 8717d4b

Please sign in to comment.