Incoming webhooks
Set up an incoming webhook in the Amplify console to start a build without committing code to your Git repository. You can use webhook triggers with headless CMS tools (such as Contentful or GraphCMS) to start a build whenever content changes, or to perform daily builds using services such as Zapier.
To create an incoming webhook
-
Sign in to the AWS Management Console and open the Amplify console
. -
Choose the app that you want to create a webhook for.
-
In the navigation pane, choose Hosting, then Build settings.
-
On the Build settings page, scroll down to the Incoming webhooks section and choose Create webhook.
-
In the Create webhook dialog box, do the following:
-
For Webhook name enter a name for the webhook.
-
For Branch to build, select the branch to build on incoming webhook requests.
-
Choose Create webhook.
-
-
In the Incoming webhooks section, do one of the following:
-
Copy the webhook URL and provide it to a headless CMS tool or other service to initiate builds.
-
Run the curl command in a terminal window to start a new build.
-