mirror of https://gitlab.com/curben/blog
parent
a6a4387776
commit
b1a1149804
|
@ -21,7 +21,7 @@ build:
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
# Only trigger through push & "Run pipeline" events not in "site" branch; Skip in renovate job
|
# Only trigger through push & "Run pipeline" events not in "site" branch; Skip in renovate job
|
||||||
- if: '$RENOVATE != "true" && $CI_COMMIT_REF_NAME != "site" && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "web")'
|
- if: '$RENOVATE != "true" && $CI_COMMIT_REF_NAME != "site" && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "web" || $CI_PIPELINE_SOURCE == "api")'
|
||||||
when: always
|
when: always
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
|
@ -37,7 +37,7 @@ test:
|
||||||
- sh check-homepage.sh
|
- sh check-homepage.sh
|
||||||
|
|
||||||
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" || $CI_PIPELINE_SOURCE == "api")'
|
||||||
when: always
|
when: always
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
|
@ -67,7 +67,7 @@ deploy:
|
||||||
- npm run deploy-cf-images
|
- npm run deploy-cf-images
|
||||||
|
|
||||||
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" || $CI_PIPELINE_SOURCE == "api")'
|
||||||
when: always
|
when: always
|
||||||
|
|
||||||
deploy_pages:
|
deploy_pages:
|
||||||
|
@ -79,7 +79,7 @@ deploy_pages:
|
||||||
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" || $CI_PIPELINE_SOURCE == "api")'
|
||||||
when: always
|
when: always
|
||||||
|
|
||||||
# Check dependency update
|
# Check dependency update
|
||||||
|
|
Loading…
Reference in New Issue