From c0d82dae18f390d1caabfb71b81512a9416a8356 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 10 Oct 2022 10:30:25 +0200 Subject: [PATCH 1/2] fix build command for netlify --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 11437f23e5f0..9867f6e7fea0 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] publish = "code/built-storybooks" - command = "yarn --task compile --start-from=auto --no-link && yarn build-storybooks --all" + command = "yarn task --task compile --start-from=auto --no-link && yarn build-storybooks --all" [build.environment] NODE_VERSION = "14" YARN_VERSION = "1.22.10" From 54cee70425ed5b5eaf6104ee835bcfd5a6d310b4 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 10 Oct 2022 10:55:15 +0200 Subject: [PATCH 2/2] fix command --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 9867f6e7fea0..7e062ca407be 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] publish = "code/built-storybooks" - command = "yarn task --task compile --start-from=auto --no-link && yarn build-storybooks --all" + command = "yarn task --task compile --start-from=auto --no-link && cd code && yarn build-storybooks --all" [build.environment] NODE_VERSION = "14" YARN_VERSION = "1.22.10"