Skip to content

WebHook Tab

The Webhook tab allows us to connect Content Island with GitHub, enabling us to trigger a build and deploy process whenever content is published in a project.

Initial State

Initially, the tab is empty and displays a button to create the webhook.

Empty webhook tab

Fields

After clicking the webhook button, a set of fields appears that you need to fill out:

Webhook tab with fields filled in
  • Organization Name: The name of the GitHub organization to which the webhook should be sent.

  • Repository Name: The name of the GitHub repository to which the webhook should be sent.

  • GitHub Token: The GitHub token used to authenticate the webhook. This token must be created in GitHub as a personal access token. To create a personal access token, go to GitHub settings and under Developer settings, generate a new token. The token must have write permissions for the target repository.

  • Event Name: The name of the event to send with the webhook. This event is triggered when content is published in the project. For example, you could use “content-published”.

Example

Example of how this works: Go to the webhook tutorial video