Commit 0944a8f7 authored by Zack Wong's avatar Zack Wong
Browse files

make stage more prod like

parent a99227c9
......@@ -53,9 +53,9 @@ deploy_staging:
DEPLOY_HOST : staging.test.ucc.asn.au
script:
- echo "Deploy to staging"
- rm -f /var/www/stage/$CI_PROJECT_NAME
- rm -f /services/$CI_PROJECT_NAME
- rm -f /etc/uwsgi/vassals/stage.ini
- ln -srT ./ /var/www/stage/$CI_PROJECT_NAME
- ln -srT ./ /services/$CI_PROJECT_NAME
- envsubst < src/gms/settings_local.example.py > src/gms/settings_local.py
- python src/manage.py collectstatic
- python src/manage.py makemigrations
......
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