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 6cfa839 commit 368cfe5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,11 @@
% POSTGRES
)

github_action_db_url = os.environ.get(
"SQLALCHEMY_DATABASE_URI_GITHUB_ACTION", None
)

if github_action_db_url:
SQLALCHEMY_DATABASE_URI = github_action_db_url

LOGGING_LEVEL = os.environ.get("LOGGING_LEVEL", "DEBUG")

0 comments on commit 368cfe5

Please sign in to comment.