readthedocs.org
768e8944 - Docs: cancel PR builds if there is no documentation changes (#9734)

Commit
3 years ago
Docs: cancel PR builds if there is no documentation changes (#9734) * Docs: cancel PR builds if there is no documentation changes Use the new feature to cancel builds if there are not documentation changes * Use quotes to make the script valid * Change logic to use $? (last exit code) in the condition We don't have to exit the command immediately when `git diff` exists with 1; that means there are changes and we want to continue building the documentation. * Modify if statement * Update docs to use the new command * Update .readthedocs.yml Co-authored-by: Benjamin Balder Bach <benjamin@readthedocs.org> Co-authored-by: Benjamin Balder Bach <benjamin@readthedocs.org>
Author
Parents
Loading