mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 03:31:50 +02:00
ci: added rtd update job
This commit is contained in:
@ -147,17 +147,15 @@ semver:
|
|||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_REF_NAME == "master"'
|
- if: '$CI_COMMIT_REF_NAME == "master"'
|
||||||
|
|
||||||
# pages:
|
pages:
|
||||||
# stage: Deploy
|
stage: Deploy
|
||||||
# needs: ["tests"]
|
needs: ["semver"]
|
||||||
# script:
|
variables:
|
||||||
# - git clone --branch $OPHYD_DEVICES_BRANCH https://oauth2:$CI_OPHYD_DEVICES_KEY@gitlab.psi.ch/bec/ophyd_devices.git
|
TARGET_BRANCH: $CI_COMMIT_REF_NAME
|
||||||
# - export OPHYD_DEVICES_PATH=$PWD/ophyd_devices
|
rules:
|
||||||
# - pip install -r ./docs/source/requirements.txt
|
- if: '$CI_COMMIT_TAG != null'
|
||||||
# - apt-get install -y gcc
|
variables:
|
||||||
# - *install-bec-services
|
TARGET_BRANCH: $CI_COMMIT_TAG
|
||||||
# - cd ./docs/source; make html
|
- if: '$CI_COMMIT_REF_NAME == "master"'
|
||||||
# - curl -X POST -d "branches=$CI_COMMIT_REF_NAME" -d "token=$RTD_TOKEN" https://readthedocs.org/api/v2/webhook/beamline-experiment-control/221870/
|
script:
|
||||||
# rules:
|
- curl -X POST -d "branches=$CI_COMMIT_REF_NAME" -d "token=$RTD_TOKEN" https://readthedocs.org/api/v2/webhook/bec-widgets/253243/
|
||||||
# - if: '$CI_COMMIT_REF_NAME == "master"'
|
|
||||||
# - if: '$CI_COMMIT_REF_NAME == "production"'
|
|
||||||
|
Reference in New Issue
Block a user