docs: filter out netlify deployments

Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
Sam Alba 2021-12-17 14:58:40 -08:00
parent 1de440f83b
commit 7c7cce38c9

View File

@ -15,7 +15,7 @@
[context.deploy-preview]
# Do not build the site if there's no site-related changes since the last
# deploy.
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../docs/"
ignore = "git diff --quiet $COMMIT_REF $CACHED_COMMIT_REF -- ./ ../docs/"
command = "yarn build:withoutAuth"
[[redirects]]