Trigger Vercel builds

If you are using Vercel to run your site build and deployment processes you might want these processes to be triggered when something is published in Uniform.

Before you start

You must have a Git repository configured in your Vercel project to configure a deploy hook in Vercel.

  1. In Vercel, open your project.

  2. Navigate to Settings > Git > Deploy Hooks.

    vercel-deploy-hooks-section
  3. Enter the following values:

    FieldDescription
    Deploy hook nameDescriptive name for the build hook.
    Branch to buildThe build process will be triggered using the selected branch.
  4. Click Create Hook.

  5. The build hook URL is displayed. Copy this value.

    vercel-deploy-hook-added

Now you can create a webhook in Uniform that uses this URL. The result will be that whenever anything in your project is published, the build and deploy processes in Vercel will be triggered using the build hook you created in Vercel.