File tree Expand file tree Collapse file tree 1 file changed +13
-14
lines changed
Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -10,17 +10,16 @@ build:
1010 os : ubuntu-22.04
1111 tools :
1212 python : " 3.12"
13- jobs :
14- post_checkout :
15- # Cancel building pull requests when there aren't changes in the docs directory or YAML file.
16- # You can add any other files or directories that you'd like here as well,
17- # like your docs requirements file, or other files that will change your docs build.
18- #
19- # If there are no changes (git diff exits with 0) we force the command to return with 183.
20- # This is a special exit code on Read the Docs that will cancel the build immediately.
21- - |
22- if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- docs/ .readthedocs.yaml requirements-initial.txt requirements.txt;
23- then
24- exit 183;
25- fi
26- - make rtd-pr-preview
13+ commands :
14+ # Cancel building pull requests when there aren't changes in the docs directory or YAML file.
15+ # You can add any other files or directories that you'd like here as well,
16+ # like your docs requirements file, or other files that will change your docs build.
17+ #
18+ # If there are no changes (git diff exits with 0) we force the command to return with 183.
19+ # This is a special exit code on Read the Docs that will cancel the build immediately.
20+ - |
21+ if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- docs/ .readthedocs.yaml requirements-initial.txt requirements.txt;
22+ then
23+ exit 183;
24+ fi
25+ - make rtd-pr-preview
You can’t perform that action at this time.
0 commit comments