For all of you building their projects on Vercel, we're thrilled to announce our next official integration.
About the Integration
The Vercel integration allows you to seamlessly update your static deployments at the push of a button from within GraphCMS itself! Not to be confused with triggered builds via webhooks, this integration allows you to install a button in the GraphCMS sidebar of a content model for manual redeploys, giving you more control on the deployment process.
Requirements to use the GraphCMS Vercel Integration
When using this Vercel integration, you should already have a project deployed in an active Vercel project. If you don't already have one, we recommend signing up for a free account on Vercel.
Your Vercel project should be configured to load content from a GraphCMS project.
Note: Each GraphCMS project can support up to 3 concurrent Vercel projects. This integration uses explicit OAuth2.
What can you do with the Vercel integration in GraphCMS
- Trigger Vercel builds from within your content view with a single click.
- Specify which content models display the button in the sidebar, giving you more control over how builds are triggered when there are changes to your content.
Set up the Vercel Integration in GraphCMS
Step One: Activate the Vercel integration in GraphCMS
Log in to your GraphCMS project, and select
integrations from the settings sidebar.
Vercel and enable the integration.
Connect to your Vercel account to allow the integration to work.
Authorize the GraphCMS integration for your Vercel account.
Step Two: Configure which content models to enable the integration for
Select the Vercel projects you want to connect to your GraphCMS project.
Select which content models show the
deploy button in the GraphCMS sidebar. Only content models selected will display the deploy button.
Step Three: Update and deploy
When creating, publishing, unpublishing, or editing content, simply click on
Start Building to trigger a new Vercel build.
That's it, you're set!
Note: We recommend setting up Preview URLs to support your workflows and preview your content before pushing it to Production.
We'd love to gather your feedback on the GraphCMS Vercel Integration, and are looking forward to hearing from you.
PS: We're currently working on showing you the status of your Vercel builds within the GraphCMS UI itself, and should be rolling this out in the coming days.