We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2268289 commit 8320664Copy full SHA for 8320664
.readthedocs.yml
@@ -20,7 +20,7 @@ build:
20
# If there are no changes (git diff exits with 0) we force the command to return with 183.
21
# This is a special exit code on Read the Docs that will cancel the build immediately.
22
- |
23
- if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && [ "$(git diff --quiet origin/main -- Doc/ .readthedocs.yml; echo $?)" -eq 0 ];
+ if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && [ "$(git diff --quiet $(git merge-base HEAD origin/main) -- Doc/ .readthedocs.yml; echo $?)" -eq 0 ];
24
then
25
echo "No changes to Doc/ - exiting the build.";
26
exit 183;
0 commit comments