Run builds on terms that work best for you

Discover the many methods of starting a new build for your Flutter app.

Here’s how

Trigger on code commit, pull request or tag creation

Trigger on code commit, pull request or tag creation

Codemagic supports webhooks from all popular Git services to automatically trigger builds. Using wildcard patterns, you can run different pipelines based on branch or tag name. And Codemagic will automatically update your pull request or merge request status once the build finishes.

Automatic nightly or weekly builds

Scheduled nightly or weekly builds

For long-running pipelines, you can schedule daily or weekly builds to receive build results when they are required by your team. Scheduled builds are also important if you need to run regular security or vulnerability scans of your codebase and dependencies.

Support for monorepos

Support for monorepos

If your repository contains multiple applications, you can specify which changes should trigger a build. For instance, you can skip a build if only the Website directory was changed and run the build when changes are made to the Mobile folder.

Integration with your tools via Rest API

Integration with your tools via Rest API

Codemagic REST API allows you to integrate Codemagic both with your internal and external tools and trigger builds in more complex cases. For example, you can pass extra parameters to build different variations of your app from the same codebase (aka white label apps).

It’s easy to get started

Build triggers
Scheduled builds
Webhooks
Build triggers

Select the build triggering events to start builds automatically.

Scheduled builds

Create build schedules to run workflows at regular intervals.

Webhooks

Get an overview of incoming webhooks and triggered builds.

Have even more control with codemagic.yaml

  • Trigger on push

    Specify which branches to watch for changes.

  • Pull request creation or update

    Test the merge without actually merging it.

  • Conditional build triggers

    Trigger the builds when conditions are met.

  • Cancel outdated webhook builds

    Don’t run builds you don’t need.

  • workflows:
      sample-workflow:
        triggering:
          events:
            - push
          branch_patterns:
            - pattern: 'dev*'
    
                           
  • workflows:
      sample-workflow:
        triggering:
          events:
            - pull_request
          branch_patterns:
            - pattern: main
    
                           
  • workflows:
      sample-workflow:
        triggering:
          events:
            - pull_request
          branch_patterns:
            - pattern: main
        when:
          changeset:
            excludes:
              - website/
    
                           
  • workflows:
      sample-workflow:
        triggering:
          events:
            - push
          cancel_previous_builds: true
    
                           

Continue your Codemagic discovery

See what else Codemagic can do for your continuous integration and continuous delivery needs.