Ming Di Leom 2024-10-06 22:57:49 +00:00
parent 2ac670422d
commit c555092bbc
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 5 additions and 4 deletions

View File

@ -48,10 +48,11 @@ test:
deploy:
stage: deploy
trigger:
project: curben/curben.gitlab.io
branch: master
strategy: depend
before_script:
- apk update && apk add curl
script:
- curl -X POST --fail -F token=$TRIGGER_PAGES_TOKEN -F ref=master ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/trigger/pipeline
rules:
- if: '$RENOVATE != "true" && $CI_COMMIT_REF_NAME == "microblog" && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "web")'