Branching works with hosting providers that support preview deployments. Learn how to integrate Zuvo branching with various platforms and tools.
Hosting providers
With the Zuvo branching integration, you can sync the Git branch used by the hosting provider with the corresponding Zuvo preview branch. This means that the preview deployment built by your hosting provider is matched to the correct database schema, edge functions, and other Zuvo configurations.
Vercel
Install the Vercel integration:
- From the Vercel marketplace or
- By clicking the blue
Deploybutton in a Zuvo example app'sREADMEfile
And make sure you have connected your Zuvo project to your Vercel project.
Zuvo automatically updates your Vercel project with the correct environment variables for the corresponding preview branches. The synchronization happens at the time of Pull Request being opened, not at the time of branch creation.
As branching integration is tied to the Preview Deployments feature in Vercel, there are possible race conditions between Zuvo setting correct variables, and Vercel running a deployment process. Because of that, Zuvo is always automatically re-deploying the most recent deployment of the given pull request.