Skip to content

Latest commit

 

History

History
61 lines (50 loc) · 2.02 KB

webhook.adoc

File metadata and controls

61 lines (50 loc) · 2.02 KB
titletext description
Add a Github webhook to automate your mobile app's CI process
Use GitHub webhooks to notify buddybuild of repository changes, to start new builds, to update build statuses and to notify testers of new builds.

Add a GitHub webhook

A webhook notifies buddybuild of code changes that you make to your repo. Whenever a new change is pushed, buddybuild automatically kicks off a new build — ensuring that you have up-to-date build status and your testers have the very latest builds.

Let’s get started!

  1. On the Builds page, in the red banner at the top of the page, click on Resolve this issue.

    The auto-build resolution banner in the buddybuild dashboard

  2. In the dialog box that appears, select and copy the webhook URL.

  3. Navigate to your GitHub repository. In the right panel, select Settings.

    A GitHub project page, showing the settings button

  4. In the left navigation, select Webhooks and services.

    The GitHub Settings screen

  5. Select Add webhook.

    The GitHub webhooks screen

  6. Paste the URL you first copied into the Payload URL field.

    Pasting the buddybuild webhook URL into the GitHub webhooks screen

  7. Under Content type, select application/x-www-form-urlencoded. You can leave the Secret field blank.

    Specifying the content type on the GitHub webhooks screen

  8. Choose Let me select individual events.

    Setting 'Let me select individual events' on the GitHub webhooks screen

  9. Once that expands, select Pull Request and Push. Ensure that Active is selected, and click Add webhook.

    You’re now done!

    Clicking the Add webhook button on the GitHub webhooks screen