Skip to content

Commit

Permalink
ci: deploy workflow use branch based compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Oct 18, 2023
1 parent 41534bc commit ee67ed2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ jobs:

- name: Deploy
run: |
docker compose --file docker-compose.deploy.yml pull
docker compose --file docker-compose.deploy.yml up --detach --remove-orphans
docker compose --file "docker-compose.${GIT_BRANCH}.yml" pull
docker compose --file "docker-compose.${GIT_BRANCH}.yml" up --detach --remove-orphans
env:
DOCKER_HOST: ${{ vars.DOCKER_HOST }}

0 comments on commit ee67ed2

Please sign in to comment.