Skip to content

Commit 24060c3

Browse files
committed
Update netlify.toml
1 parent 71faec4 commit 24060c3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

netlify.toml

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
base = "Doc/"
33
command = "make html"
44
publish = "build/html"
5+
# Do not trigger netlify builds if docs were not changed.
6+
# Changed files should be in sync with `.github/workflows/doc.yml`
7+
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF Doc/ netlify.toml"
58

69
[build.environment]
710
PYTHON_VERSION = "3.8"
811
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)