Commit 4c078823 authored by Carla Barquest's avatar Carla Barquest

update to include staging deploy

parent 370dd163
Pipeline #957 passed with stage
in 3 seconds
......@@ -30,21 +30,21 @@ devel:
only:
- master
# staging:
# stage: deploy
# script:
# - rm -Rf $PROJECT_DEPLOY_DIR/[^VENV]*
# - cp -R * $PROJECT_DEPLOY_DIR
# - python3 -m venv $VENV_DEPLOY_DIR
# - source $VENV_DEPLOY_DIR/bin/activate
# - pip install -r $PROJECT_DEPLOY_DIR/requirements.txt
# - pip install -r $DEPLOY_DIR/$CI_ENVIRONMENT_NAME/acc/requirements.txt
# - ln -snf /etc/uwsgi.d/templates/other.ini /etc/uwsgi.d/$CI_ENVIRONMENT_NAME/jayastrip.ini
# environment:
# name: staging
# url: https://staging.hla.triumf.ca/jayastrip
# only:
# - staging
staging:
stage: deploy
script:
- rm -Rf $PROJECT_DEPLOY_DIR/[^VENV]*
- cp -R * $PROJECT_DEPLOY_DIR
- python3 -m venv $VENV_DEPLOY_DIR
- source $VENV_DEPLOY_DIR/bin/activate
- pip install -r $PROJECT_DEPLOY_DIR/requirements.txt
- pip install -r $DEPLOY_DIR/$CI_ENVIRONMENT_NAME/acc/requirements.txt
- ln -snf /etc/uwsgi.d/templates/other.ini /etc/uwsgi.d/$CI_ENVIRONMENT_NAME/jayastrip.ini
environment:
name: staging
url: https://staging.hla.triumf.ca/jayastrip
only:
- staging
beta:
stage: deploy
......
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