Commit 67205f2d authored by okhin's avatar okhin 🚴

Adding a manual job to deploy in production

parent 622f951c
Pipeline #925 failed with stage
in 0 seconds
before_script:
job install:
variables:
BASE_PATH: /srv/piphone/sip-backend/
VIRTUALENV: /srv/piphone/backend/.sip-backend_env
script:
- rsync -ruvC ./ ${BASE_PATH}
- source ${VIRTUALENV}/bin/activate
- pip install --upgrade pip
- pip install --upgrade -r requirements.txt
stage: deploy
tags: [preprod]
only:
- master
job production:
variables:
BASE_PATH: /srv/piphone/backend/
VIRTUALENV: /srv/piphone/backend/backend_env
......@@ -10,6 +24,7 @@ job install:
- pip install --upgrade pip
- pip install --upgrade -r requirements.txt
stage: deploy
tags: [preprod]
tags: [piphone]
only:
- master
when: manual
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