Skip to content

Commit

Permalink
Merge pull request #566 from PAWECOGmbH/staging
Browse files Browse the repository at this point in the history
Staging to Production
  • Loading branch information
ptruessel authored Nov 21, 2024
2 parents 607afb3 + 302918d commit 1722b13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
script: |
docker run --rm \
--network npm_network \
--volume /path/to/config/db/core:/flyway/core:ro \
--volume ${{ secrets.PROD_REMOTE_PATH }}/config/db/core:/flyway/core:ro \
-e FLYWAY_URL="${{ secrets.PROD_DB_URL }}" \
-e FLYWAY_USER="${{ secrets.PROD_DB_USER }}" \
-e FLYWAY_PASSWORD="${{ secrets.PROD_DB_PASSWORD }}" \
Expand All @@ -50,7 +50,7 @@ jobs:
script: |
docker run --rm \
--network npm_network \
--volume /path/to/config/db/myapp:/flyway/myapp:ro \
--volume ${{ secrets.PROD_REMOTE_PATH }}/config/db/myapp:/flyway/myapp:ro \
-e FLYWAY_URL="${{ secrets.PROD_DB_URL }}" \
-e FLYWAY_USER="${{ secrets.PROD_DB_USER }}" \
-e FLYWAY_PASSWORD="${{ secrets.PROD_DB_PASSWORD }}" \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
script: |
docker run --rm \
--network npm_network \
--volume /path/to/config/db/core:/flyway/core:ro \
--volume ${{ secrets.STAGING_REMOTE_PATH }}/config/db/core:/flyway/core:ro \
-e FLYWAY_URL="${{ secrets.STAGING_DB_URL }}" \
-e FLYWAY_USER="${{ secrets.STAGING_DB_USER }}" \
-e FLYWAY_PASSWORD="${{ secrets.STAGING_DB_PASSWORD }}" \
Expand All @@ -50,7 +50,7 @@ jobs:
script: |
docker run --rm \
--network npm_network \
--volume /path/to/config/db/myapp:/flyway/myapp:ro \
--volume ${{ secrets.STAGING_REMOTE_PATH }}/config/db/myapp:/flyway/myapp:ro \
-e FLYWAY_URL="${{ secrets.STAGING_DB_URL }}" \
-e FLYWAY_USER="${{ secrets.STAGING_DB_USER }}" \
-e FLYWAY_PASSWORD="${{ secrets.STAGING_DB_PASSWORD }}" \
Expand Down

0 comments on commit 1722b13

Please sign in to comment.