How to change your deploy branch or root directory on Voroa
Change which Git branch Voroa deploys, or point it at a subfolder in a monorepo, from Settings. Fix a wrong setting and redeploy in one click.
Every Voroa service deploys from one branch of your repository, and builds from one root directory inside it. You can change both at any time from Settings — useful when you switch deploy branches or move an app into a subfolder.
Branch
The branch is the line of your repository Voroa builds and deploys. When automatic deploys are on, only pushes to this branch trigger a new build.
Root directory
The root directory is the folder Voroa builds from.
- Use
/when your app lives at the repository root. - Use
/subfolderfor a monorepo — for example/frontendor/apiwhen a single repository holds several apps.
Voroa expects your package.json to be inside the root directory you choose.
Change branch or root directory
- Open the service and go to Settings.
- Under Source, edit Branch and Root directory.
- Select Save.
Saving redeploys your service from the new branch and directory so the change takes effect. You can watch the new build in the Deploys tab.
Fixing a wrong setting
If a deploy fails because the branch or root directory was wrong — for example a build that reports it could not detect your app — just correct the field here and save. There is no need to recreate the service.