Skip to content
Merged
Prev Previous commit
Next Next commit
Adjust YAML
  • Loading branch information
hugovk committed May 16, 2023
commit a32d767a6e936f5998a66497d5f864ec2fcca69a
8 changes: 4 additions & 4 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ build:
#
# If there are no changes (git diff exits with 0) we force the command to return with 183.
# This is a special exit code on Read the Docs that will cancel the build immediately.
- |
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && [ "$(git diff --quiet origin/main -- Doc/ .readthedocs.yml; echo $?)" -eq 0 ]; then
echo "No changes to Doc/ - exiting the build.";
exit 183;
- if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && [ "$(git diff --quiet origin/main -- Doc/ .readthedocs.yml; echo $?)" -eq 0 ]; then \
echo "No changes to Doc/ - exiting the build."; \
exit 183; \
fi

- make -C Doc venv html
- mkdir _readthedocs
- mv Doc/build/html _readthedocs/html