0
0
mirror of https://github.com/python/cpython.git synced 2024-11-30 18:51:15 +01:00
cpython/netlify.toml
Nikita Sobolev d92407ed49
gh-100072: only trigger netlify builds for doc changes (#100074)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-12-07 21:07:30 +02:00

12 lines
372 B
TOML

[build]
base = "Doc/"
command = "make html"
publish = "build/html"
# Do not trigger netlify builds if docs were not changed.
# Changed files should be in sync with `.github/workflows/doc.yml`
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../netlify.toml"
[build.environment]
PYTHON_VERSION = "3.8"
IS_DEPLOYMENT_PREVIEW = "true"