Skip to content
Snippets Groups Projects
Commit 3142c04d authored by Koerber, Lukas (FWIN-C) - 108045's avatar Koerber, Lukas (FWIN-C) - 108045
Browse files

Merge branch 'rtd-webhook-via-ci' into 'main'

Trigger readthedocs webhook via GitLab CI

Closes #6

See merge request !7
parents 223c774b 411d4c94
No related branches found
No related tags found
2 merge requests!20Update from develop,!7Trigger readthedocs webhook via GitLab CI
stages:
- deploy
readthedocs:
image: alpine:3.15
stage: deploy
before_script:
- apk add curl
script:
- curl -X POST -d "branches=$CI_DEFAULT_BRANCH" -d "token=$RTD_TOKEN" https://readthedocs.org/api/v2/webhook/tetrax/190009/
rules:
# Only run the job on the default branch and not in forks.
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PROJECT_PATH == "micromagnetic-modeling/tetrax"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment