Skip to content

Commit 8bed34f

Browse files
Netlify: Only build deployment preview if the docs were changed (#57)
This should make it less annoying on PRs.
1 parent fcf070d commit 8bed34f

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
@@ -1,3 +1,4 @@
11
[build]
22
command = "mkdocs build"
33
publish = "site"
4+
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ./docs"

0 commit comments

Comments
 (0)