Skip to content

Commit 71faec4

Browse files
committed
Do not trigger netlify builds if docs were not changed
1 parent 9753a1d commit 71faec4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

netlify.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@
55

66
[build.environment]
77
PYTHON_VERSION = "3.8"
8-
IS_DEPLOYMENT_PREVIEW = "true"
8+
IS_DEPLOYMENT_PREVIEW = "true"
9+
10+
# Do not trigger netlify builds if docs were not changed.
11+
# Changed files should be in sync with `.github/workflows/doc.yml`
12+
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ./Doc ./Misc ./netlify.toml"

0 commit comments

Comments
 (0)