Skip to content

Commit 09526db

Browse files
committed
fix netlify yaml caching issue
1 parent cc25a31 commit 09526db

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

netlify.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@
77
# Default build command.
88
command = "mkdocs build"
99

10-
ignore = "git diff --quiet HEAD^ HEAD mkdocs.yml requirements.txt Pipfile netlify.toml docs/"
10+
ignore = "if [ ${COMMIT_REF} == ${CACHED_COMMIT_REF} ] ; then false ; else git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF mkdocs.yml requirements.txt netlify.toml docs/ ; fi"
11+
12+
[build.environment]
13+
PYTHON_VERSION = "3.8"

0 commit comments

Comments
 (0)