Speed up your development workflow with Automatic GitHub builds

Nov 29, 2023 by

Avatar of Juwan Wheatley

Juwan Wheatley

GitHub build trigger hero image

When you want to build a preview version of your app to test out some changes, it can be tedious to manually go through the process of running EAS CLI to build your app after pushing or pulling down the latest changes from your repository. You have to find the right branch or tag to pull down, install EAS CLI, log in, choose the right build profile, and run the build command locally.

With Automatic GitHub builds, we eliminate all of those manual steps. By setting up build triggers, your project is automatically built whenever you push updates to GitHub, ensuring that your latest builds are up to date with your codebase.

How to set up build triggers

The steps are simple. Just link a repository on expo.dev, add a build trigger, and push to your repository. If you've run a build on EAS before, this will be a smooth process. (If you haven't run a build you can learn how to create your first build here.)

You can customize build triggers for branches, pull requests, and Git tags. For example, running an iOS production build when main gets pushed or creating an Android development build when any pull request with a source branch matching feature/* gets updated.

We decided to develop and ship Automatic Github builds because we want developers focused on business logic and shipping beautiful applications, not developing and maintaining a complex CI/CD system.

This feature is now in preview for EAS subscribers, with general availability slated for 2024. There are many more improvements to come!

Learn more about how to get set up with our GitHub builds guide.

Credits

Avatar of Bartosz Kaszubowski

Bartosz Kaszubowski for code review and feedback

Avatar of James Ide

James Ide for technical guidance and code review

Avatar of Jon Samp

Jon Samp for design feedback

Avatar of Will Schurman

Will Schurman for technical guidance and code review