Always trigger default branch on readthedocs

This allows readthedocs to detect new branches:
https://github.com/readthedocs/readthedocs.org/issues/9106

Closes #12694
This commit is contained in:
Cédric Krier
2023-10-31 23:04:37 +01:00
parent 6b2aa74ce5
commit fac8bb3e18
+1 -1
View File
@@ -250,7 +250,7 @@ check-template-modules:
stage: build
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/tryton/ci
script:
- .gitlab-scripts/trigger-readthedocs.py -c "${RTD_CONFIG}" -p "${PACKAGE}" -b "${CI_COMMIT_BRANCH#branch/}"
- .gitlab-scripts/trigger-readthedocs.py -c "${RTD_CONFIG}" -p "${PACKAGE}" -b default "${CI_COMMIT_BRANCH#branch/}"
rules:
- if: $CI_COMMIT_BRANCH =~ /^branch\/.*/
changes: