Without automation, every time you publish new content in Sanity you need to manually redeploy your project in Vercel before visitors can see the changes.

By connecting Sanity Webhooks with a Vercel Deploy Hook, every published article automatically triggers a new deployment. Your content goes live without any manual work.

Why This Setup Matters

  • Publish articles without logging into Vercel.
  • Keep your live website always up to date.
  • Eliminate forgotten manual deployments.
  • Perfect for content editors who only use Sanity Studio.
  • Keep the speed and SEO benefits of a static Astro website.

How It Works

  1. An editor publishes content in Sanity Studio.
  2. Sanity sends a webhook after the content is published.
  3. Vercel receives the webhook through a Deploy Hook.
  4. Vercel rebuilds the Astro site.
  5. The updated website is automatically published.

The entire process usually completes within a minute or two.