Prepare Noggin & FASJSON for prod
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
f952b7a715
commit
2269f0ece1
12 changed files with 36 additions and 31 deletions
|
@ -31,11 +31,14 @@ spec:
|
|||
triggers:
|
||||
- type: ConfigChange
|
||||
- type: ImageChange
|
||||
- type: GitHub
|
||||
{% if noggin_stg_github_secret is defined and env == 'staging' %}
|
||||
- type: GitHub
|
||||
github:
|
||||
secret: "{{ noggin_stg_github_secret }}"
|
||||
{% elif noggin_github_secret is defined and env == 'production' %}
|
||||
github:
|
||||
secret: "{{ noggin_github_secret }}"
|
||||
{% endif %}
|
||||
{% if noggin_github_secret is defined and env == 'production' %}
|
||||
# Do we really want auto rebuilds in prod?
|
||||
# - type: GitHub
|
||||
# github:
|
||||
# secret: "{{ noggin_github_secret }}"
|
||||
{% endif %}
|
||||
|
|
|
@ -46,5 +46,5 @@ SECRET_KEY = from_file('/etc/noggin-secrets/session').encode('utf-8')
|
|||
# Spam checking
|
||||
# BASSET_URL = None
|
||||
|
||||
# Disable registration until the account import is complete
|
||||
REGISTRATION_OPEN = False
|
||||
# To disable registration:
|
||||
# REGISTRATION_OPEN = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue