Skip to content

Commit

Permalink
add docker compose file name to docker compose down github action
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenaH84 committed Jun 16, 2024
1 parent 8ecad93 commit 8fcf874
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 @@ -46,7 +46,7 @@ jobs:
- name: Login to Registry
run: echo ${{ secrets.PAT }} | docker login ghcr.io -u lorenah84 --password-stdin
- name: Stop Running Containers
run: ssh ${{ env.SSH_USER }}@${{ env.SSH_HOST }} "cd ${{ env.WORKDIR }} && docker compose down"
run: ssh ${{ env.SSH_USER }}@${{ env.SSH_HOST }} "cd ${{ env.WORKDIR }} && docker compose -f docker-compose-server.yml down"
- name: Pull and Run Containers
run: |
ssh ${{ env.SSH_USER }}@${{ env.SSH_HOST }} "cd ${{ env.WORKDIR }} && \
Expand Down

0 comments on commit 8fcf874

Please sign in to comment.