# Rebuilding your Nuxt Site on Content Changes

> Source: https://agilitycms.com/docs/nuxt/rebuilding-your-nuxt-js-site-on-content-changes

If you're deploying your Nuxt.js project using Static Site Generation (**SSG**), you'll need to kick off a rebuild of your website by using a [Webhook](/docs/developers/webhooks) to tell your hosting provider changes have been made in your Agility CMS instance.

[Webhooks](/docs/developers/webhooks) allow you to create URLs that accept HTTP POST requests in order to trigger deployments and re-run the build process on certain events, such as Content Save, Content Publish, or even on Workflow Events.

### Examples:

[Vercel Deploy Hooks](https://vercel.com/docs/more/deploy-hooks)

[Netlify Build Hooks](https://docs.netlify.com/configure-builds/build-hooks/)

## Adding Your Webhook in Agility CMS

In your Agility CMS Manager, head to the [Webhooks](https://manager.agilitycms.com/settings/webhooks) section under Settings and add a new Webhook. 

Paste in the Webhook URL your hosting provider generated for you. 

To make sure everything is working, you can Send a Test Payload and if successful, you should receive a successful Test Payload Response.

![](https://cdn.aglty.io/agility-cms-docs/block-editor/nuxtarticles/Screen_Shot_2021-05-07_at_10.41.43_AM-09282021194850.png)

## Testing Changes

Once your webhook it set up, your hosting environment should re-build the site when content changes in the CMS.
