Create multiple Pages projects with a monorepo
I'm using a pnpm monorepo and it feels impossible to deploy multiple apps/projects from the same repo. Is there a way around it? For some context, I'd like to deploy a Sanity Studio app and my website which is based on SvelteKit.
This is something possible with Vercel but I can't figure it out yet on CF Pages 😬
![](https://cdn.answeroverflow.com/1109542071804629032/CleanShot_2023-05-20_at_20.03.262x.jpg)
6 Replies
Pages doesn’t support monorepos yet. You’d have to use GitHub actions to deploy it to Pages
Ok, thanks. Do you know if this will be supported soon?
Are there any tutorials around for doing this? The inability to reuse a repo in a new site is a real pain point
They had a hacky feature to enable monorepo support but not sure if it is still supported. You can use https://github.com/cloudflare/pages-action to do direct uploads easy from multi repos
Awesome thank you! I'm seriously considering ditching cloudflare and this is one of the reasons. Just can't understand the restriction from a technical viewpoint.
My guess is that is has to do with the GitHub integration part and how they receive the webhooks.