Skip to content

Commit

Permalink
Test setting debug from env
Browse files Browse the repository at this point in the history
  • Loading branch information
korlaxxalrok committed Jun 6, 2024
1 parent 4c2b552 commit b5d78d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ jobs:
if: >
github.ref == 'refs/heads/main' ||
github.ref == 'refs/heads/staging' ||
github.ref == 'refs/heads/development'
github.ref == 'refs/heads/development' ||
github.ref == 'refs/heads/test-debug-env-var'
strategy:
matrix:
# Specify the docker-compose services to build images from
Expand Down
4 changes: 2 additions & 2 deletions src/signal_documentation/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@


# SECURITY WARNING: don't run with debug turned on in production!
# DEBUG = bool(strtobool(os.getenv('DEBUG', 'True')))
DEBUG = True
DEBUG = bool(strtobool(os.getenv('DEBUG', 'True')))
#DEBUG = True


# SECURITY WARNING: keep the secret key used in production secret!
Expand Down

0 comments on commit b5d78d8

Please sign in to comment.