From: Eduardo San Martin Morote Date: Thu, 30 Sep 2021 09:07:22 +0000 (+0200) Subject: chore: document skip doc X-Git-Tag: pinia@2.0.0-rc.10~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=26e319a92400e7008142b17e5996ea880a1806dc;p=thirdparty%2Fvuejs%2Fpinia.git chore: document skip doc --- diff --git a/scripts/docs-check.sh b/scripts/docs-check.sh index 6ba200d5..fb7a6822 100755 --- a/scripts/docs-check.sh +++ b/scripts/docs-check.sh @@ -3,4 +3,6 @@ # check if doc files changes for netlify # needed because we cannot use && in netlify.toml +# exit 0 will skip the build while exit 1 will build + git diff --quiet 'HEAD^' HEAD ./packages/docs/ && ! git diff 'HEAD^' HEAD ./yarn.lock | grep --quiet vite && git diff --quiet 'HEAD^' HEAD netlify.toml