Update .gitlab-ci.yml
This commit is contained in:
@ -14,11 +14,11 @@ deploy-test:
|
|||||||
deploy-prod:
|
deploy-prod:
|
||||||
stage: deploy-prod
|
stage: deploy-prod
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_TAG
|
||||||
when: delayed
|
when: delayed
|
||||||
start_in: 10 minutes
|
start_in: 10 minutes
|
||||||
script:
|
script:
|
||||||
- source /opt/miniconda3/etc/profile.d/conda.sh
|
- source /opt/miniconda3/etc/profile.d/conda.sh
|
||||||
- conda activate prod
|
- conda activate prod
|
||||||
- conda update pyzebra -y
|
- conda update pyzebra -y
|
||||||
- sudo systemctl restart pyzebra.service
|
- sudo systemctl restart pyzebra.service
|
||||||
|
Reference in New Issue
Block a user