Skip to content

Commit

Permalink
deploy: use prod Compose config when deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Feb 24, 2024
1 parent bf1af45 commit cbce352
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ jobs:
git reset --hard
git checkout ${{ github.ref_name }}
git pull
docker compose build --pull
docker compose pull
docker compose up -d
docker compose -f docker-compose.yaml -f docker-compose.prod.yaml pull
docker compose -f docker-compose.yaml -f docker-compose.prod.yaml build --pull
docker compose -f docker-compose.yaml -f docker-compose.prod.yaml up --detach
6 changes: 3 additions & 3 deletions .github/workflows/deploy-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ jobs:
git reset --hard
git checkout ${{ github.ref_name }}
git pull
docker compose build --pull
docker compose pull
docker compose up -d
docker compose -f docker-compose.yaml -f docker-compose.prod.yaml pull
docker compose -f docker-compose.yaml -f docker-compose.prod.yaml build --pull
docker compose -f docker-compose.yaml -f docker-compose.prod.yaml up --detach

0 comments on commit cbce352

Please sign in to comment.