Skip to content

Commit

Permalink
Updating env name as it cannot start with GITHUB_
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiehewitt15 committed Aug 3, 2023
1 parent 372e4c7 commit 32c233a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
elif os.getenv('GITHUB_WORKFLOW'):
elif os.getenv('ENV_GITHUB_WORKFLOW'):
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
Expand Down Expand Up @@ -175,7 +175,7 @@
TOKEN_ADDRESS = os.environ.get("TOKEN_ADDRESS")
IPFS_SERVICE_ENDPOINT = os.environ.get("IPFS_SERVICE_ENDPOINT")

if os.getenv('GITHUB_WORKFLOW'):
if os.getenv('ENV_GITHUB_WORKFLOW'):
PRIVATE_KEY = os.getenv("PRIVATE_KEY")
TEST_PRIVATE_KEY = os.getenv("TEST_PRIVATE_KEY")
TOKEN_ADDRESS = os.getenv("TOKEN_ADDRESS")

0 comments on commit 32c233a

Please sign in to comment.