From db91b5dc4fa7f91811fe38dcb57091919afbdb46 Mon Sep 17 00:00:00 2001 From: Nikita Marchant Date: Wed, 24 Dec 2025 23:39:30 +0100 Subject: [PATCH] Set DEBUG=False for GitHub Actions (Fixes #327) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Configure the build job to run with DEBUG=False instead of the default DEBUG=True. This ensures all Django management commands (check, makemigrations, collectstatic) run in production mode during CI. Also sets SECRET_KEY which is required when DEBUG=False. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- .github/workflows/python-tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 5ab8ed18..ae1018e5 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -15,6 +15,9 @@ jobs: build: runs-on: ubuntu-latest + env: + DEBUG: "False" + SECRET_KEY: "github-actions-secret-key" services: postgres: