From 0944a8f7b89cfb5fc54051293dc317e0eeb7706d Mon Sep 17 00:00:00 2001 From: Zack Wong <coffee@ucc.gu.uwa.edu.au> Date: Sun, 24 Feb 2019 17:50:36 +0800 Subject: [PATCH] make stage more prod like --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e9c0e01..6dc0da3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 -- GitLab