Skip to content

Commit

Permalink
fixed migrations and report
Browse files Browse the repository at this point in the history
  • Loading branch information
Szer committed Sep 27, 2023
1 parent f44898f commit d27ed92
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/deploy-azure-acr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,20 @@ jobs:
- name: Apply migrations
run: >-
docker run --rm
--volume ${{ github.workspace }}/migrations:/src/migrations:ro
--volume ${{ github.workspace }}/src/migrations:/flyway/sql:ro
--volume ${{ github.workspace }}/reports:/flyway/reports
"${{ env.DOCKER_IMAGE }}"
-url="${{ secrets.DB_PROD_URL }}"
-user="${{ secrets.DB_PROD_USERNAME }}"
-password="${{ secrets.DB_PROD_PASSWORD }}"
migrate -schemas="${{ env.SCHEMAS }}"
- name: Upload Flyway report
uses: actions/upload-artifact@v3
with:
name: Database Report
path: reports/

- name: 'Docker Login'
uses: azure/docker-login@v1
with:
Expand Down

0 comments on commit d27ed92

Please sign in to comment.