Merged in fix/add-netlify-build-ignore (pull request #2366)
chore: Add ignore to build config * Add ignore to build config * Add missing package to ignore * Add build filter for partner-sas site Approved-by: Linus Flood
This commit is contained in:
committed by
Linus Flood
parent
edca03decf
commit
157c0415e5
@@ -1,6 +1,7 @@
|
|||||||
[build]
|
[build]
|
||||||
command = "yarn build"
|
command = "yarn build"
|
||||||
publish = "apps/partner-sas/.next"
|
publish = "apps/partner-sas/.next"
|
||||||
|
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF apps/partner-sas packages/common packages/trpc packages/design-system packages/typescript-config"
|
||||||
|
|
||||||
[context.branch-deploy]
|
[context.branch-deploy]
|
||||||
command = "yarn build"
|
command = "yarn build"
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
|
[build]
|
||||||
|
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF apps/scandic-redirect"
|
||||||
|
|
||||||
[functions]
|
[functions]
|
||||||
included_files = ["netlify/functions/data/**.json"]
|
included_files = ["netlify/functions/data/**.json"]
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/*"
|
from = "/*"
|
||||||
to = "/.netlify/functions/redirect"
|
to = "/.netlify/functions/redirect"
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
[build]
|
[build]
|
||||||
command = "yarn build"
|
command = "yarn build"
|
||||||
publish = "apps/scandic-web/.next"
|
publish = "apps/scandic-web/.next"
|
||||||
|
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF apps/scandic-web packages/common packages/trpc packages/design-system packages/typescript-config"
|
||||||
|
|
||||||
[context.branch-deploy]
|
[context.branch-deploy]
|
||||||
command = "yarn build"
|
command = "yarn build"
|
||||||
|
|||||||
2
packages/design-system/netlify.toml
Normal file
2
packages/design-system/netlify.toml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[build]
|
||||||
|
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF packages/design-system packages/typescript-config"
|
||||||
Reference in New Issue
Block a user