diff --git a/netlify.toml b/netlify.toml index 11437f23e5f0..7e062ca407be 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 && cd code && yarn build-storybooks --all" [build.environment] NODE_VERSION = "14" YARN_VERSION = "1.22.10"