From af7df8c421865aec52f10b2b7672cd7912016d0b Mon Sep 17 00:00:00 2001 From: jffarge Date: Thu, 24 Jun 2021 16:56:17 +0200 Subject: [PATCH] fix: :bug: change netlify context to deploy with auth Signed-off-by: jffarge --- website/netlify.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/netlify.toml b/website/netlify.toml index 703a4e4aa83..decad0cf254 100644 --- a/website/netlify.toml +++ b/website/netlify.toml @@ -17,6 +17,12 @@ ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../docs/" command = "yarn build:withoutAuth" +[context.docs-analytics] + # 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/" + command = "yarn build" + [[redirects]] from = "/github-proxy/*" to = "https://github.com/:splat"