Skip to content

Commit

Permalink
netlify: Only trigger preview when there are changes in docs. (kubern…
Browse files Browse the repository at this point in the history
…etes#10144)

Signed-off-by: Jintao Zhang <[email protected]>
  • Loading branch information
tao12345666333 authored Jun 27, 2023
1 parent 1ddecfc commit a2f3036
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[build]
publish = "site"
command = "make build-docs"
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ./docs"
# available here https://github.com/netlify/build-image/blob/focal/included_software.md#languages
environment = { PYTHON_VERSION = "3.8" }

Expand Down

0 comments on commit a2f3036

Please sign in to comment.