Skip to content

Commit

Permalink
remove DATABASE_URL env var from CI Action
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonejt committed Nov 26, 2023
1 parent fc666a9 commit 6bcba23
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ on:
- "main"

env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
ENV: test
ENV: testing

jobs:
test:
Expand Down
4 changes: 0 additions & 4 deletions sibyl/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@
# Database
# https://docs.djangoproject.com/en/4.0/ref/settings/#databases

print(os.environ)
print("DATABASE_URL" in os.environ)
print(os.getenv("DATABASE_URL"))

DATABASES = {
'default': dj_database_url.parse(os.getenv("DATABASE_URL")) if "DATABASE_URL" in os.environ else {
"ENGINE": 'django.db.backends.sqlite3',
Expand Down

0 comments on commit 6bcba23

Please sign in to comment.