---
description: Automatically trigger a Capawesome Cloud build whenever you push to a branch, using pattern matching to target specific branches.
title: Trigger Builds on Branch Pushes - Capawesome
image: https://capawesome.io/docs/assets/images/social/cloud/automations/trigger-on-branch-pushes.png
---

[ Skip to content](#trigger-on-branch-pushes) 

[ 🔐 Introducing the **Capacitor Vault** plugin — store secrets behind biometrics or a device passcode.](/blog/announcing-the-capacitor-vault-plugin/) 

* [  SDKs ](/docs/sdks/)
* [  Formbricks ](/docs/sdks/capacitor/formbricks/)
* [  Geocoder ](/docs/sdks/capacitor/geocoder/)
* [  Google Sign-In ](/docs/sdks/capacitor/google-sign-in/)
* [  Grafana Faro ](/docs/sdks/capacitor/grafana-faro/)
* [  libSQL ](/docs/sdks/capacitor/libsql/)
* [  Live Update ](/docs/sdks/capacitor/live-update/)
* [  Managed Configurations ](/docs/sdks/capacitor/managed-configurations/)
* [  Media Session ](/docs/sdks/capacitor/media-session/)
* [  ML Kit ](/docs/sdks/capacitor/mlkit/)
* [  Navigation Bar ](/docs/sdks/capacitor/navigation-bar/)
* [  NFC ](/docs/sdks/capacitor/nfc/)
* [  OAuth ](/docs/sdks/capacitor/oauth/)
* [  Pedometer ](/docs/sdks/capacitor/pedometer/)
* [  Photo Editor ](/docs/sdks/capacitor/photo-editor/)
* [  PostHog ](/docs/sdks/capacitor/posthog/)
* [  Printer ](/docs/sdks/capacitor/printer/)
* [  Purchases ](/docs/sdks/capacitor/purchases/)
* [  RealtimeKit ](/docs/sdks/capacitor/realtimekit/)
* [  Screen Orientation ](/docs/sdks/capacitor/screen-orientation/)
* [  Screenshot ](/docs/sdks/capacitor/screenshot/)
* [  Secure Preferences ](/docs/sdks/capacitor/secure-preferences/)
* [  Speech Recognition ](/docs/sdks/capacitor/speech-recognition/)
* [  Speech Synthesis ](/docs/sdks/capacitor/speech-synthesis/)
* [  Share Target ](/docs/sdks/capacitor/share-target/)
* [  Square Mobile Payments ](/docs/sdks/capacitor/square-mobile-payments/)
* [  SQLite ](/docs/sdks/capacitor/sqlite/)
* [  Superwall ](/docs/sdks/capacitor/superwall/)
* [  Torch ](/docs/sdks/capacitor/torch/)
* [  Vault ](/docs/sdks/capacitor/vault/)
* [  Wifi ](/docs/sdks/capacitor/wifi/)
* [  Zip ](/docs/sdks/capacitor/zip/)
* [  Cordova ](/docs/sdks/cordova/)
* [  Cloud ](/docs/cloud/)
* [  Integrations ](/docs/cloud/live-updates/integrations/)
* Concepts
* Reference
* [  Troubleshooting ](/docs/cloud/live-updates/troubleshooting/)
* [  FAQ ](/docs/cloud/live-updates/faq/)
* [  Native Builds ](/docs/cloud/native-builds/)
* [  Set Up Environments ](/docs/cloud/native-builds/environments/)
* [  Overwrite Native Configurations ](/docs/cloud/native-builds/native-configurations/)
* [  Auto-Increment Build Numbers ](/docs/cloud/native-builds/auto-incrementing-build-numbers/)
* [  Configure the Web Build Script ](/docs/cloud/native-builds/web-build-script/)
* [  Build from a Monorepo ](/docs/cloud/native-builds/monorepo/)
* [  Use pnpm or Yarn ](/docs/cloud/native-builds/package-managers/)
* [  Install Private npm Packages ](/docs/cloud/native-builds/npm-private-registry/)
* [  Override the Java Version ](/docs/cloud/native-builds/override-java-version/)
* [  Custom iOS Provisioning Profiles ](/docs/cloud/native-builds/custom-ios-provisioning-profiles/)
* [  Build without Git ](/docs/cloud/native-builds/build-without-git/)
* [  Access Git Behind a Firewall ](/docs/cloud/native-builds/firewall-access/)
* [  Integrations ](/docs/cloud/native-builds/integrations/)
* Reference
* [  Troubleshooting ](/docs/cloud/native-builds/troubleshooting/)
* [  FAQ ](/docs/cloud/native-builds/faq/)
* [  App Store Publishing ](/docs/cloud/app-store-publishing/)
* [  Submit a Build ](/docs/cloud/app-store-publishing/submit-a-build/)
* [  Submit Automatically After a Build ](/docs/cloud/app-store-publishing/submit-automatically/)
* [  Troubleshooting ](/docs/cloud/app-store-publishing/troubleshooting/)
* [  FAQ ](/docs/cloud/app-store-publishing/faq/)
* [  Automations ](/docs/cloud/automations/)
* [  Trigger on Tags ](/docs/cloud/automations/trigger-on-tags/)
* [  Filter by Commit Message ](/docs/cloud/automations/filter-by-commit-message/)
* [  Attach Build Settings ](/docs/cloud/automations/attach-build-settings/)
* [  Auto-Submit to a Store ](/docs/cloud/automations/auto-submit/)
* [  Auto-Publish a Live Update ](/docs/cloud/automations/auto-publish-live-update/)
* [  Manage Automations ](/docs/cloud/automations/manage-automations/)
* [  Set Up the Git Webhook ](/docs/cloud/automations/webhooks/)
* [  Reference ](/docs/cloud/automations/reference/)
* [  Troubleshooting ](/docs/cloud/automations/troubleshooting/)
* [  FAQ ](/docs/cloud/automations/faq/)
* [  Assist ](/docs/cloud/assist/)
* [  CLI ](/docs/cloud/cli/)
* APIs and SDKs
* [  Webhooks ](/docs/cloud/webhooks/)
* [  Integrations ](/docs/cloud/integrations/)
* Account
* [  Organization ](/docs/cloud/organizations/)
* [  Two-Factor Enforcement ](/docs/cloud/organizations/two-factor-authentication/)
* [  Audit Logs ](/docs/cloud/organizations/audit-logs/)
* [  Billing ](/docs/cloud/organizations/billing/)
* [  License Keys ](/docs/cloud/license-keys/)
* [  AI ](/docs/ai/)
* [  Insiders ](/docs/insiders/)
* [  Billing & Plans ](/docs/insiders/billing-and-plans/)
* [  FAQ ](/docs/insiders/faq/)
* [  License ](https://capawesome.io/legal/eula/)
* [  Support ](/docs/support/)
* [  Contributing ](/docs/contributing/)
* Contributing code
* [  Code of Conduct ](/docs/contributing/code-of-conduct/)
* [  Questions ](https://docs.github.com/en/discussions/collaborating-with-your-community-using-discussions/participating-in-a-discussion#creating-a-discussion)
* [  Blog ](/blog/)
* Categories

# Trigger on Branch Pushes[¶](#trigger-on-branch-pushes "Permanent link")

A branch automation starts a build every time you push to a matching branch. It's the right choice for continuous builds — for example, a fresh QA build on every push to `main`, or a build for each of your `release/*` branches — so the latest code is always built without anyone clicking a button.

## Create the automation[¶](#create-the-automation "Permanent link")

1. Open the [Automations](https://console.cloud.capawesome.io/apps/%5F/automations) page and click **Create Automation**.
2. Set the **Trigger Type** to **Branch**.
3. Set the **Trigger Pattern** to the branch name to match. A pattern can be an exact name like `main`, or a glob like `release/*` to match every release branch. See the [pattern syntax](/docs/cloud/automations/reference/#trigger-pattern-syntax) for all options.
4. Choose the **Platform** (Android, iOS, or Web) and any [build settings](/docs/cloud/automations/attach-build-settings/).

Every push to a matching branch now starts a build. Capawesome Cloud registers a webhook on your repository automatically — see [Set up the Git webhook](/docs/cloud/automations/webhooks/) if you ever need to configure it manually.

## Narrow down which pushes build[¶](#narrow-down-which-pushes-build "Permanent link")

Branches can be busy, and you won't want a build for every commit. To skip some pushes, add a [commit-message filter](/docs/cloud/automations/filter-by-commit-message/) — for example, to skip documentation-only commits with `[skip ci]`, or to build only when the message matches a pattern.

## Next steps[¶](#next-steps "Permanent link")

* [Attach build settings](/docs/cloud/automations/attach-build-settings/) — sign, configure, and target the triggered builds.
* [Filter by commit message](/docs/cloud/automations/filter-by-commit-message/) — control exactly which pushes build.
* [Auto-publish a Live Update](/docs/cloud/automations/auto-publish-live-update/) — turn a branch automation into an over-the-air release pipeline.

June 8, 2026 

 Back to top 