Skip to content

Commit

Permalink
Add migration step to release worflow
Browse files Browse the repository at this point in the history
  • Loading branch information
linneamyl authored Dec 10, 2021
1 parent 2b909d4 commit 8adf70c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
# deploy to Azure Web App.
yarn install
yarn build
- name: run database migrations
run: DATABASE_URL=${{ secrets.DATABASE_URL_PRODUCTION }} yarn migrate-up
- name: copy web.config and node_modules to dist
run: |
cp web.config dist/web.config
Expand Down

0 comments on commit 8adf70c

Please sign in to comment.