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 a75b5ae commit 68a3252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- run: docker context create remote --docker "host=ssh://${{ secrets.WWF_SSH_USERNAME }}@${{ secrets.WWF_SERVER }}"
- 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.prod.yml ${{ secrets.WWF_SSH_USERNAME }}@${{ secrets.WWF_SERVER }}:~/
- run: scp ./docker-compose.yml ${{ secrets.WWF_SSH_USERNAME }}@${{ secrets.WWF_SERVER }}:~/
- run: ssh ${{ secrets.WWF_SSH_USERNAME }}@${{ secrets.WWF_SERVER }} "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
Expand Down

0 comments on commit 68a3252

Please sign in to comment.