diff options
author | 2020-12-27 20:20:17 +0200 | |
---|---|---|
committer | 2020-12-27 20:20:17 +0200 | |
commit | 1758f29de0471c084e8c0ccfe9f48a6aea0a8f4e (patch) | |
tree | 73cc190a907faffb41b8171a679e56ad65f7814d | |
parent | Inject Git SHA to image during building (diff) |
Add Git SHA constant
-rw-r--r-- | backend/constants.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/constants.py b/backend/constants.py index bf0c33c..cfc4cd1 100644 --- a/backend/constants.py +++ b/backend/constants.py @@ -17,6 +17,8 @@ OAUTH2_REDIRECT_URI = os.getenv( "https://forms.pythondiscord.com/callback" ) +GIT_SHA = os.getenv("GIT_SHA", "dev") + DOCS_PASSWORD = os.getenv("DOCS_PASSWORD") SECRET_KEY = os.getenv("SECRET_KEY", binascii.hexlify(os.urandom(30)).decode()) |