declarative netlify

This commit is contained in:
Quinn Dougherty 2022-04-14 21:40:38 -04:00
parent ae6b58d321
commit dec03d0590
3 changed files with 20 additions and 1 deletions

View File

@ -6,7 +6,6 @@ labels: "ops & testing"
# Description: # Description:
# The OS and version, yarn version, etc. in which this came up # The OS and version, yarn version, etc. in which this came up
<!-- delete this section if testing task or otherwise not applicable --> <!-- delete this section if testing task or otherwise not applicable -->

View File

@ -0,0 +1,10 @@
[build]
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"

View File

@ -0,0 +1,10 @@
[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"