update staging configs to allow env var overrides w/ burnettk

This commit is contained in:
jasquat 2022-12-09 17:28:57 -05:00
parent 617299fce7
commit 6d9b3c5276
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,6 @@
"""staging.""" """staging."""
GIT_BRANCH = "staging" from os import environ
GIT_BRANCH_TO_PUBLISH_TO = "main"
GIT_BRANCH = environ.get("GIT_BRANCH_TO_PUBLISH_TO", default="staging")
GIT_BRANCH_TO_PUBLISH_TO = environ.get("GIT_BRANCH_TO_PUBLISH_TO", default="main")
GIT_COMMIT_ON_SAVE = False GIT_COMMIT_ON_SAVE = False