Skip to content

Commit

Permalink
added migration logic in cd workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Sachinbisht27 committed Apr 18, 2024
1 parent b48817f commit 6a0445d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Run Flask Migration
env:
SQLALCHEMY_DATABASE_URI_GITHUB_ACTION: ${{ secrets.SQLALCHEMY_DATABASE_URI }}
FLASK_APP: ${{ secrets.FLASK_APP_STAGING }}
FLASK_APP: ${{ secrets.FLASK_APP }}
FLASK_ENV: ${{ secrets.FLASK_APP_STAGING }}
run: |
flask db upgrade
Expand Down

0 comments on commit 6a0445d

Please sign in to comment.