Commit 00268b44 authored by rinpatch's avatar rinpatch
Browse files

CI: Add job ref when calling api docs builder

Just grabbing the latest artifact for the branch does not work because
gitlab will only change the latest artifact when the whole pipeline
parent e2d7c4fd
Pipeline #34639 passed with stages
in 10 minutes and 48 seconds
...@@ -165,13 +165,16 @@ review_app: ...@@ -165,13 +165,16 @@ review_app:
spec-deploy: spec-deploy:
stage: deploy stage: deploy
- spec.json
only: only:
- develop@pleroma/pleroma - develop@pleroma/pleroma
image: alpine:latest image: alpine:latest
before_script: before_script:
- apk add curl - apk add curl
script: script:
- curl -X POST -F"token=$API_DOCS_PIPELINE_TRIGGER" -F'ref=master' -F"variables[BRANCH]=$CI_COMMIT_REF_NAME" - curl -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"
stop_review_app: stop_review_app:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment