Skip to content

Commit

Permalink
gh-100072: only trigger netlify builds for doc changes (#100074)
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
  • Loading branch information
sobolevn and hugovk authored Dec 7, 2022
1 parent f3e97c9 commit d92407e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
base = "Doc/"
command = "make 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]
PYTHON_VERSION = "3.8"
IS_DEPLOYMENT_PREVIEW = "true"
IS_DEPLOYMENT_PREVIEW = "true"

0 comments on commit d92407e

Please sign in to comment.