Skip to content

Commit a2f3036

Browse files
netlify: Only trigger preview when there are changes in docs. (#10144)
Signed-off-by: Jintao Zhang <[email protected]>
1 parent 1ddecfc commit a2f3036

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

netlify.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
[build]
33
publish = "site"
44
command = "make build-docs"
5+
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ./docs"
56
# available here https://github.com/netlify/build-image/blob/focal/included_software.md#languages
67
environment = { PYTHON_VERSION = "3.8" }
78

0 commit comments

Comments
 (0)