DEV Community

Discussion on: How would you deploy parts of a monorepo in CI?

Collapse
kingkool68 profile image
Russell Heimlich

You could use a Continuous Integration pipeline that automatically commits the changes to two different repos in a folder structure and deploy them to production as two separate repos while maintaining and authoring in one repo.

Or deploy the monorepo to production in a non-public folder and automatically move the two directories to different locations in the servers web root.

With a bit of scripting you could make this work.