Skip to main content

Editing the bitrise.yml configuration

Abstract

You can edit the file on bitrise.io, in the graphical Workflow Editor, or you can download it and edit it locally. Whenever you modify a Workflow or a Step in the Workflow Editor, you're indirectly editing the app's bitrise.yml configuration file.

Your Bitrise configuration is defined in YAML files. All Bitrise projects have a root bitrise.yml file which defines Pipelines, Workflows, app-level Environment Variables, the trigger map, and stack types and machine types for your project. You can edit this file in three different ways:

Whenever you modify a Workflow or a Step in the Workflow Editor, you're indirectly editing the app's bitrise.yml configuration file. However, if you prefer, you can edit the file directly, in YAML.

Important

This requires some familiarity with the structure of the bitrise.yml file. Read more: Basics of bitrise.yml

You can edit the file on bitrise.io, in the graphical Workflow Editor, or you can download it and edit it locally.

Editing the bitrise.yml file online

You can edit your build config in yml format in the bitrise.yml editor. To do so, open the Workflow Editor and select bitrise.yml from the left navigation menu.

Managing an app's bitrise.yml configuration

You can edit the file directly here. Bitrise validates your configuration: if your bitrise.yml file is not valid, you won't be able to save the file.

To download the current bitrise.yml file, click Download currently saved config. Alternatively, you can simply select certain sections of the file and copy those into either a local bitrise.yml file or into another app's bitrise.yml file.

Editing the bitrise.yml file locally

Our YAML scheme is shared on schemastore. This means that syntax highlight and auto-completion is available for the following files if you edit them locally:

  • bitrise.yml

  • step.yml

  • bitrise.json

The following editors support the auto-complete feature:

  • IntelliJ IDEA

  • PhpStorm

  • PyCharm

  • Rider

  • RubyMine

  • Visual Studio 2013+

  • Visual Studio Code

  • Visual Studio for Mac

  • WebStorm

  • JSONBuddy

    autocomplete.png

After editing your file locally, you can either copy its contents to the online bitrise.yml file or you can store it in your own repository.