1
0
mirror of https://github.com/kubernetes/ingress-nginx.git synced 2025-02-06 09:44:13 +00:00
k8s-ingress-nginx/netlify.toml
Jintao Zhang a2f3036e20
netlify: Only trigger preview when there are changes in docs. (#10144)
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2023-06-27 11:50:32 -07:00

12 lines
358 B
TOML

# netlify configuration
[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" }
[context.deploy-preview]
publish = "site/"
command = "make build-docs"