declarative netlify
This commit is contained in:
parent
ae6b58d321
commit
dec03d0590
1
.github/ISSUE_TEMPLATE/ops-testing.md
vendored
1
.github/ISSUE_TEMPLATE/ops-testing.md
vendored
|
@ -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 -->
|
||||||
|
|
10
packages/components/netlify.toml
Normal file
10
packages/components/netlify.toml
Normal 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"
|
10
packages/website/netlify.toml
Normal file
10
packages/website/netlify.toml
Normal 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"
|
Loading…
Reference in New Issue
Block a user