Skip to content

Commit

Permalink
Merge pull request #584 from PAWECOGmbH/staging
Browse files Browse the repository at this point in the history
Staging to Production
  • Loading branch information
ptruessel authored Dec 13, 2024
2 parents da44cb2 + 8a2a993 commit af9b544
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,22 +62,6 @@ jobs:
-e FLYWAY_PASSWORD="${{ secrets.PROD_DB_PASSWORD }}" \
flyway/flyway -locations=filesystem:/flyway/core -table=flyway_core migrate
- name: Run Flyway Migrations core
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.PROD_HOST }}
username: ${{ secrets.PROD_USER }}
key: ${{ secrets.PROD_KEY }}
passphrase: ${{ secrets.PROD_KEY_PASS }}
script: |
docker run --rm \
--network npm_network \
--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 }}" \
flyway/flyway -locations=filesystem:/flyway/core -table=flyway_core migrate
- name: Run Flyway Migrations myapp
uses: appleboy/ssh-action@v1.0.3
with:
Expand Down

0 comments on commit af9b544

Please sign in to comment.