Adding a GitHub webhook
GitHub

Adding a GitHub webhook

You can specify webhooks so that Bitrise automatically triggers a build of your app whenever you perform a specified action, such as a code push or a pull request. For GitHub, all you have to do is register your bitrise-webhooks URL as a Webhook in your GitHub repository.

You can register a webhook either automatically or manually. This guide walks you through the process of manually registering a webhook. Read more about automatic webhook registration.

Get the webhook URL for GitHub

  1. Go to the Code tab of your app’s page and in the INCOMING WEBHOOKS menu, click SETUP MANUALLY.

  2. Select GitHub from the dropdown menu.

    Screenshot

  3. Copy the webhook URL for the selected service.

Set up webhook on GitHub

  1. Navigate to your GitHub repository and select Settings.

    Screenshot

  2. Select Add webhook under Webhooks.

    Screenshot

  3. Paste the GitHub Webhook URL from Bitrise to the Payload URL.

    Screenshot

  4. And on the same page, select Let me select individual events.

    Screenshot

  5. Select Pull request and Push. After you are ready press the Add webhook button and you are ready to roll!

    Screenshot