From d98c637c1557fe3951c2d5b5225a00e7dd6be395 Mon Sep 17 00:00:00 2001 From: Quinn Dougherty Date: Thu, 14 Apr 2022 22:17:23 -0400 Subject: [PATCH] try this --- .github/CODEOWNERS | 2 +- netlify.toml | 5 +++++ packages/components/netlify.toml | 6 ------ packages/website/netlify.toml | 8 +------- 4 files changed, 7 insertions(+), 14 deletions(-) create mode 100644 netlify.toml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4c921cda..27cfbc62 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -24,7 +24,7 @@ *.json @quinn-dougherty @Hazelfire @OAGr *.y*ml @quinn-dougherty @OAGr *.config.js @Hazelfire @OAGr -netlify.toml @quinn-dougherty @OAGr +netlify.toml @quinn-dougherty @OAGr @Hazelfire # Documentation *.md @quinn-dougherty @OAGr @Hazelfire diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 00000000..e60a3555 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,5 @@ +[build.environment] + NETLIFY_USE_YARN = true + +[context.deploy-preview] + ignore = "node -e 'process.env.BRANCH.includes(\"dependabot\") ? 0 : 1'" \ No newline at end of file diff --git a/packages/components/netlify.toml b/packages/components/netlify.toml index fdb817a6..78b8b6c0 100644 --- a/packages/components/netlify.toml +++ b/packages/components/netlify.toml @@ -2,9 +2,3 @@ publish = "packages/components/storybook-static/" build = "cd packages/squiggle-lang && yarn build && cd ../components && yarn build" ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF packages/components packages/squiggle-lang" - -[build.environment] - NETLIFY_USE_YARN = true - -[context.deploy-preview] - ignore = "node -e 'process.env.BRANCH.includes(\"dependabot\") ? 0 : 1'" \ No newline at end of file diff --git a/packages/website/netlify.toml b/packages/website/netlify.toml index c5bee71d..327ea2f8 100644 --- a/packages/website/netlify.toml +++ b/packages/website/netlify.toml @@ -1,10 +1,4 @@ [build] publish = "packages/website/build/" build = "cd packages/squiggle-lang && yarn build && cd ../website && yarn build" - # ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF packages/website packages/components packages/squiggle-lang" - -[build.environment] - NETLIFY_USE_YARN = true - -[context.deploy-preview] - ignore = "node -e 'process.env.BRANCH.includes(\"dependabot\") ? 0 : 1'" \ No newline at end of file + # ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF packages/website packages/components packages/squiggle-lang" \ No newline at end of file