Hi there Netlify community,
I understand Netlify now supports monorepos, which seems to be a perfect fit for my requirements:
I have a git repository containing multiple git submodules, each of them is a different gatsbyjs website. I’d ultimately like to ensure these submodules are deployed in their respective separate subfolders, rather than on the website root.
This is what my
netlify.toml currently looks like:
[build] base = "nunogt" publish = "nunogt/public/" command = "gatsby build"
This compiles and deploys fine, but as per https://docs.netlify.com/configure-builds/common-configurations/#monorepos, I’d expect this build to be made available in
https://devopspt.netlify.app/nunogt/ rather than the root
I’ve studied the netlify reference configuration file to check whether I’m missing something, but can’t really see any other clues there that would help me achieve this goal.
The fact that the
publish attributes are within the
build section does suggest these attributes are not designed for anything outside the build context, but if I could get an authoritative answer on this from netlify that would be much appreciated.
Thanks in advance