commit: 29be5018b0a7a50708aad68f69f187184ceaa7b4
parent 490a273dc1429fe2ae4ca9b8ad4eb12f4b92860d
Author: vaartis <vaartis@kotobank.ch>
Date: Wed, 18 Jun 2025 14:42:02 +0000
Merge branch 'ci-variables' into 'develop'
Use manually created variables for CI instead of CI_JOB_TOKEN
See merge request pleroma/pleroma!4373
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
@@ -208,7 +208,7 @@ docs-deploy:
before_script:
- apk add curl
script:
- - curl --fail-with-body -X POST -F"token=$CI_JOB_TOKEN" -F'ref=master' -F"variables[BRANCH]=$CI_COMMIT_REF_NAME" https://git.pleroma.social/api/v4/projects/673/trigger/pipeline
+ - curl --fail-with-body -X POST -F"token=$DOCS_PIPELINE_TRIGGER" -F'ref=master' -F"variables[BRANCH]=$CI_COMMIT_REF_NAME" https://git.pleroma.social/api/v4/projects/673/trigger/pipeline
review_app:
image: alpine:3.9
stage: deploy
@@ -249,7 +249,7 @@ spec-deploy:
before_script:
- apk add curl
script:
- - curl --fail-with-body -X POST -F"token=$CI_JOB_TOKEN" -F'ref=master' -F"variables[BRANCH]=$CI_COMMIT_REF_NAME" -F"variables[JOB_REF]=$CI_JOB_ID" https://git.pleroma.social/api/v4/projects/1130/trigger/pipeline
+ - curl --fail-with-body -X POST -F"token=$API_DOCS_PIPELINE_TRIGGER" -F'ref=master' -F"variables[BRANCH]=$CI_COMMIT_REF_NAME" -F"variables[JOB_REF]=$CI_JOB_ID" https://git.pleroma.social/api/v4/projects/1130/trigger/pipeline
stop_review_app: