Gitlab

THIS PAGE
Gitlab Settings
Creating a Gitlab webhook

You can trigger a build on Gitlab whenever your content on Canonic changes.

For example: Trigger a build for your JAMStack frontend whenever a new post is added to the Posts table.

Gitlab is a build type webhook. To create one, select your input type as Build when creating a webhook.

Gitlab Settings

Property Description
API Key The API Key for Gitlab. The API key should have sufficient permissions to trigger the webhook.
Repo URL The repository url for the account that you want to trigger the webhook for.
Repo Branch The branch for which the webhook will be triggered.

Creating a Gitlab webhook

  1. Create a new webhook on the endpoint you want to trigger the webhook.
  2. Select the input type as Build.
  3. Select Gitlab as the provider.
  4. Enter the authentication details for the Gitlab webhook in the properties panel.
  5. Close the properties panel to save your changes.

The webhook will be triggered whenever the endpoint you attached it to is triggered.

You can receive the result of this webhook in the extensions field by enabling the wait for webhooks options in the Endpoint properties.

Did you find what you were looking for?
👍
👎
What went wrong?
Need more help?We have a thriving Discordcommunity that can help you with all things Canonic. →