You can set up triggers so that every time code is pushed to the specified branch of your repository, a build is automatically triggered on Bitrise.
Note that this requires an incoming webhook set up with the hosting service of your repository. Read more in the Webhooks section.
By default, every new app you add will have a trigger that triggers a build every time code is pushed to any branch of your repository.
- Open your app on bitrise.io.
- Open the
- Select the
- In the existing trigger, click the
Push branchoption. If you have an existing trigger set up already, click the
+ ADD TRIGGERoption to set up a new one.
- Type in the name of the branch (for example,
master). Make sure there are no spelling errors, otherwise the trigger won’t work.
- Select the workflow you wish to trigger (for example,
Savein the top right corner.
You’re done! From now on, if code gets pushed to the selected branch of your app’s repository, Bitrise will trigger a build with the selected workflow!