Hi! I’m a bif fan of netflify, but i’m struggling with an issue, maybe we could all resolve it.

I have a react-webpack project hidrated by a function (apollo-lambda-server) and is great, but i’m trying to deploy also my storybook (react components library), so the designers can play with it.

It is just an npm run build-storybook command, so i’ve tried creating another Site and deploying it manually, but it is getting my default netlify.toml configuration and deploying the main react project build.

Is there a way to solve it? Maybe using the same site and some context? Thanks a lot.

Tis a known issue that right now we don’t respect netlify.toml in other directories when building. You cannot successfully use netlify.toml to control either site you have hooked up to the same repo, unless they share build commands (or you don’t specify a build command in the file, specifying instead in our UI for EACH SITE).

We might deploy a change for that soon so I’ll follow up here if we do!