mirror of https://gitlab.com/curben/blog
ci: 'trigger' cannot be used with 'script'
- https://docs.gitlab.com/ee/ci/yaml/#trigger
This commit is contained in:
parent
683501520e
commit
52c344b8e3
|
@ -58,10 +58,18 @@ deploy:
|
||||||
- rsync -azvh --delete public/ host-1:/var/www/
|
- rsync -azvh --delete public/ host-1:/var/www/
|
||||||
- rsync -azvh --delete public/ host-2:/var/www/
|
- rsync -azvh --delete public/ host-2:/var/www/
|
||||||
|
|
||||||
|
rules:
|
||||||
|
- if: '$RENOVATE != "true" && $CI_COMMIT_REF_NAME == "master" && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "web")'
|
||||||
|
when: always
|
||||||
|
|
||||||
|
deploy_pages:
|
||||||
|
stage: deploy
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
project: curben/curben.gitlab.io
|
project: curben/curben.gitlab.io
|
||||||
branch: master
|
branch: master
|
||||||
strategy: depend
|
strategy: depend
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
- if: '$RENOVATE != "true" && $CI_COMMIT_REF_NAME == "master" && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "web")'
|
- if: '$RENOVATE != "true" && $CI_COMMIT_REF_NAME == "master" && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "web")'
|
||||||
when: always
|
when: always
|
||||||
|
|
Loading…
Reference in New Issue