gh-100072: only trigger netlify builds for doc changes (#100074)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
Nikita Sobolev 2022-12-07 22:07:30 +03:00 committed by GitHub
parent f3e97c90ed
commit d92407ed49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,9 @@
base = "Doc/" base = "Doc/"
command = "make html" command = "make html"
publish = "build/html" publish = "build/html"
# Do not trigger netlify builds if docs were not changed.
# Changed files should be in sync with `.github/workflows/doc.yml`
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../netlify.toml"
[build.environment] [build.environment]
PYTHON_VERSION = "3.8" PYTHON_VERSION = "3.8"