21 lines
587 B
YAML
21 lines
587 B
YAML
include:
|
|
- project: bec/awi_utils
|
|
file: /templates/plugin-repo-template.yml
|
|
inputs:
|
|
name: "csaxs"
|
|
target: "csaxs_bec"
|
|
branch: $CHILD_PIPELINE_BRANCH
|
|
|
|
pages:
|
|
stage: Deploy
|
|
needs: []
|
|
variables:
|
|
TARGET_BRANCH: $CI_COMMIT_REF_NAME
|
|
rules:
|
|
- if: "$CI_COMMIT_TAG != null"
|
|
variables:
|
|
TARGET_BRANCH: $CI_COMMIT_TAG
|
|
- if: '$CI_COMMIT_REF_NAME == "main" && $CI_PROJECT_PATH == "bec/csaxs_bec"'
|
|
script:
|
|
- curl -X POST -d "branches=$CI_COMMIT_REF_NAME" -d "token=$RTD_TOKEN" https://readthedocs.org/api/v2/webhook/sls-csaxs/270162/
|