Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Squire's avatar

Laravel Forge: Deploy from Monorepo

Hello, I paid Laravel Forge and a Digital Ocean droplet and when trying to deploy from my repo which is structured like this:

backend
    /laravelRoot
frontend
    /angularRoot

but it gave me an error. What would be the best approach to deploy both frontend and backend? there's something I have to edit? any resource you can give me so I can read?

0 likes
1 reply
tmascroft's avatar

I know this is old but for anyone else who's come across this I'd like to post my solution.

What we ended up doing is having a GitHub action automatically create a new branch called web-deploy, then Forge is setup to deploy from that branch.

1 like

Please or to participate in this conversation.