ci: revert prod settings change when deploying to sandbox

This commit is contained in:
Nicolas Giard 2022-11-14 17:26:48 -05:00 committed by GitHub
parent 5e7debb8db
commit 4c471983c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -3,9 +3,6 @@
from ietf.settings import * # pyflakes:ignore
SERVER_MODE = 'development'
DEBUG = True
ALLOWED_HOSTS = ['*']
DATABASES = {