Skip to content

Commit

Permalink
ci: use ref_name directly for compose file naming
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Oct 18, 2023
1 parent 3808825 commit 9eb313f
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.${GIT_BRANCH}.yml" pull
docker compose --file "docker-compose.${GIT_BRANCH}.yml" up --detach --remove-orphans
docker compose --file "docker-compose.${{ github.ref_name }}.yml" pull
docker compose --file "docker-compose.${{ github.ref_name }}.yml" up --detach --remove-orphans
env:
DOCKER_HOST: ${{ vars.DOCKER_HOST }}

0 comments on commit 9eb313f

Please sign in to comment.