Skip to content

Commit 9b30146

Browse files
authored
allow skipping RTD builds (#7470)
* configure rtd to skip builds if `[skip-rtd]` is found in the subject * properly cancel the build early * try if it actually works [skip-rtd]
1 parent 8be9349 commit 9b30146

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.readthedocs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ build:
44
os: ubuntu-20.04
55
tools:
66
python: mambaforge-4.10
7+
jobs:
8+
post_checkout:
9+
- (git --no-pager log --pretty="tformat:%s" -1 | grep -viq "[skip-rtd]") || exit 183
710

811
conda:
912
environment: ci/requirements/doc.yml

0 commit comments

Comments
 (0)