From 261eb8d9ae14baeacf0e61f7917d409005b9d571 Mon Sep 17 00:00:00 2001 From: Quinn Dougherty Date: Thu, 14 Apr 2022 22:39:53 -0400 Subject: [PATCH] will it skip now? --- netlify-skip-deploy.js | 1 + netlify.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 netlify-skip-deploy.js diff --git a/netlify-skip-deploy.js b/netlify-skip-deploy.js new file mode 100644 index 00000000..47d2e789 --- /dev/null +++ b/netlify-skip-deploy.js @@ -0,0 +1 @@ +process.env.BRANCH.includes("dependabot") ? 0 : 1 \ No newline at end of file diff --git a/netlify.toml b/netlify.toml index 88326555..00d8ab51 100644 --- a/netlify.toml +++ b/netlify.toml @@ -5,4 +5,4 @@ NETLIFY_USE_YARN = "true" [context.deploy-preview] - ignore = "node -e 'process.env.BRANCH.includes(\"dependabot\") ? 0 : 1'" \ No newline at end of file + ignore = "node -e netlify-skip-deploy.js # 'process.env.BRANCH.includes(\"dependabot\") ? 0 : 1'" \ No newline at end of file