Commit 0adbd12c authored by okhin's avatar okhin

Adding a '*' ALLOWED_HOSTS for preproduction deployments. #19 /spend 10min

parent cab8d3a2
Pipeline #1050 failed with stages
in 2 minutes and 17 seconds
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment