Skip to content

Commit

Permalink
use docker-compose up with the --build and --detach flags to rebuild …
Browse files Browse the repository at this point in the history
…and update the services
  • Loading branch information
pH-7 committed May 9, 2024
1 parent 8e1e1d3 commit 7a5a463
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 @@ -42,4 +42,4 @@ jobs:
script: |
docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_PASSWORD }}
docker pull ${{ env.DOCKER_REPO }}:latest
docker service update --image ${{ env.DOCKER_REPO }}:latest ${{ env.SERVICE_NAME }}
docker-compose up --build --detach

0 comments on commit 7a5a463

Please sign in to comment.