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.

  1. Open your app on Bitrise.

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

  3. Select GitHub from the dropdown menu.

    Adding a GitHub webhook
  4. Copy the webhook URL for the selected service.

  5. Navigate to your GitHub repository and select Settings.

    Adding a GitHub webhook
  6. Select Add webhook under Webhooks.

    Adding a GitHub webhook
  7. Paste the GitHub Webhook URL from Bitrise to the Payload URL.

    Adding a GitHub webhook
  8. And on the same page, select Let me select individual events.

    Adding a GitHub webhook
  9. Select Pull request and Push.

    Adding a GitHub webhook
  10. Press the Add webhook button and you're done.