Commit 3aed3da5 authored by okhin's avatar okhin 🚴

To help with #26 we're running init_groups on deploy since it does not delete anything

parent dfa292bc
Pipeline #2603 passed with stages
in 3 minutes and 3 seconds
...@@ -58,6 +58,7 @@ deploy preprod: ...@@ -58,6 +58,7 @@ deploy preprod:
- echo "SECRET_KEY = '$(pwgen 20 1)'" >> ${BASE_PATH}/project/settings/env.py - echo "SECRET_KEY = '$(pwgen 20 1)'" >> ${BASE_PATH}/project/settings/env.py
- echo "SITE_ID = 2" >> ${BASE_PATH}/project/settings/env.py - echo "SITE_ID = 2" >> ${BASE_PATH}/project/settings/env.py
- ${BASE_PATH}/manage.py migrate --run-syncdb - ${BASE_PATH}/manage.py migrate --run-syncdb
- ${BASE_PATH}/manage.py init_groups
- touch /etc/uwsgi-emperor/vassals/rp.ini - touch /etc/uwsgi-emperor/vassals/rp.ini
only: only:
- rp2 - rp2
......
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