docs: test netlify ignore using shell script

This commit is contained in:
Evan You 2022-07-31 15:08:26 +08:00
parent 4032cef704
commit ba23711de1
2 changed files with 2 additions and 1 deletions

View File

@ -4,4 +4,4 @@
[build]
publish = "docs/.vitepress/dist"
command = "npx pnpm i --store=node_modules/.pnpm-store --frozen-lockfile && npm run ci-docs"
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF docs package.json pnpm-lock.yaml netlify.toml"
ignore = "./scripts/docs-check.sh"

1
scripts/docs-check.sh Normal file
View File

@ -0,0 +1 @@
git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF docs package.json pnpm-lock.yaml netlify.toml scripts/docs-check.sh