diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index 2d70d86..10a8c62 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -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: