1
0
Fork 0
mirror of https://git.pleroma.social/pleroma/pleroma.git synced 2026-02-15 17:16:57 +00:00

Merge branch 'pipeline-fix' into 'develop'

CI: use triggers for docs and api-docs deployments

See merge request pleroma/pleroma!4388
This commit is contained in:
feld 2025-10-23 19:22:00 +00:00
commit d54ec39448

View file

@ -229,16 +229,13 @@ dialyzer:
docs-deploy: docs-deploy:
stage: deploy stage: deploy
artifacts: *default_artifacts trigger:
cache: *testing_cache_policy project: pleroma/docs
image: alpine:latest branch: develop
strategy: depend
only: only:
- stable@pleroma/pleroma - stable@pleroma/pleroma
- develop@pleroma/pleroma - develop@pleroma/pleroma
before_script:
- apk add curl
script:
- 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: review_app:
image: alpine:3.9 image: alpine:3.9
stage: deploy stage: deploy
@ -271,17 +268,12 @@ review_app:
spec-deploy: spec-deploy:
stage: deploy stage: deploy
artifacts: trigger:
paths: project: pleroma/api-docs
- spec.json branch: develop
expire_in: 30 days strategy: depend
only: only:
- develop@pleroma/pleroma - develop@pleroma/pleroma
image: alpine:latest
before_script:
- apk add curl
script:
- 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: stop_review_app: