Skip to main content

Trigger builds in response to content changes

Remote SSG builds can be triggered on Netlify or Vercel using webhooks. This setup is common when using a project with a third-party SSG like Gatsby.js or Next.js. It allows editors to save data and automatically trigger a build on Netlify or Vercel to publish the updated site. If a project is using the Ship SSG the build is handled automatically and a "Static Site" is configured instead.

Set up a URL to receive the webhook

Set up a Webhook to trigger the build

  • Webhook URL The build hook or deploy hook URL
  • Resources "Content *" with "Create", "Update, and "Delete" checked will cause the webhook to fire whenever any content entry is created, updated or saved. This option is highly configurable for specific use cases.
  • Additional HTTP Headers (Optional) Additional header information passed with the webhook.