Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

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 60aef20 commit acb5e44
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 @@ -28,6 +28,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 @@ -31,6 +31,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 acb5e44

Please sign in to comment.