1 parent 5e7debb commit 4c47198Copy full SHA for 4c47198
2 files changed
.github/workflows/build.yml
@@ -433,9 +433,13 @@ jobs:
433
env:
434
DEBIAN_FRONTEND: noninteractive
435
run: |
436
+ echo "Reset production flags in settings.py..."
437
+ sed -i -r -e 's/^DEBUG *= *.*$/DEBUG = True/' -e "s/^SERVER_MODE *= *.*\$/SERVER_MODE = 'development'/" ietf/settings.py
438
+ echo "Install Deploy to Container CLI dependencies..."
439
cd dev/deploy-to-container
440
npm ci
441
cd ../..
442
+ echo "Start Deploy..."
443
node ./dev/deploy-to-container/cli.js --branch ${{ github.ref_name }} --domain neverusethis.com
444
445
- name: Cleanup old docker resources
dev/deploy-to-container/settings_local.py
@@ -3,9 +3,6 @@
3
4
from ietf.settings import * # pyflakes:ignore
5
6
-SERVER_MODE = 'development'
7
-DEBUG = True
8
-
9
ALLOWED_HOSTS = ['*']
10
11
DATABASES = {
0 commit comments