will it skip now?

This commit is contained in:
Quinn Dougherty 2022-04-14 22:39:53 -04:00
parent 4ba0212aac
commit 261eb8d9ae
2 changed files with 2 additions and 1 deletions

1
netlify-skip-deploy.js Normal file
View File

@ -0,0 +1 @@
process.env.BRANCH.includes("dependabot") ? 0 : 1

View File

@ -5,4 +5,4 @@
NETLIFY_USE_YARN = "true"
[context.deploy-preview]
ignore = "node -e 'process.env.BRANCH.includes(\"dependabot\") ? 0 : 1'"
ignore = "node -e netlify-skip-deploy.js # 'process.env.BRANCH.includes(\"dependabot\") ? 0 : 1'"