Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
rpteam
Revue de Press
Commits
0adbd12c
Commit
0adbd12c
authored
May 18, 2017
by
okhin
Browse files
Adding a '*' ALLOWED_HOSTS for preproduction deployments.
#19
/spend 10min
parent
cab8d3a2
Pipeline
#1050
failed with stages
in 2 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0adbd12c
...
...
@@ -62,6 +62,7 @@ deploy preprod:
-
pip install --upgrade -r requirements-dev.txt
-
echo "DEBUG = True" > ${BASE_PATH}/project/settings/env.py
-
echo "SECRET_KEY = '$(pwgen 20 1)'" >> ${BASE_PATH}/project/settings/env.py
-
echo "ALLOWED_HOSTS.append('\'*\'')" >> ${BASE_PATH}/project/settings/env.py
-
${BASE_PATH}/manage.py migrate
-
touch ${BASE_PATH}/ready
only
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment