diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bfb862adb..5ab1c7869 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -433,9 +433,13 @@ jobs: env: DEBIAN_FRONTEND: noninteractive run: | + echo "Reset production flags in settings.py..." + sed -i -r -e 's/^DEBUG *= *.*$/DEBUG = True/' -e "s/^SERVER_MODE *= *.*\$/SERVER_MODE = 'development'/" ietf/settings.py + echo "Install Deploy to Container CLI dependencies..." cd dev/deploy-to-container npm ci cd ../.. + echo "Start Deploy..." node ./dev/deploy-to-container/cli.js --branch ${{ github.ref_name }} --domain neverusethis.com - name: Cleanup old docker resources diff --git a/dev/deploy-to-container/settings_local.py b/dev/deploy-to-container/settings_local.py index b44d1f91e..f4753cc8a 100644 --- a/dev/deploy-to-container/settings_local.py +++ b/dev/deploy-to-container/settings_local.py @@ -3,9 +3,6 @@ from ietf.settings import * # pyflakes:ignore -SERVER_MODE = 'development' -DEBUG = True - ALLOWED_HOSTS = ['*'] DATABASES = {