Commit 8c905b0f authored by okhin's avatar okhin

Need to cd to before running migrate it seems

parent eb7efca4
Pipeline #1045 failed with stages
in 2 minutes and 16 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
- ${BASE_PATH}/manage.py migrate
- cd ${BASE_PATH}
- ./manage.py migrate
- touch ${BASE_PATH}/ready
tags: [preprod]
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