Build status badges
How to add build status badges using codemagic.yaml
Adding Codemagic status badges to repositories helps to keep the latest build status visible. The build status badge is workflow-specific and displays whether the build passed or failed.
Adding status badges to your repository
The build status badge URL can be constructed as following:
- To substitute
<app-id>, navigate to your application in the Codemagic UI and copy the ID after
- In the URL, replace
<workflow-id>with the ID of the workflow whose build status you want to display.
Based on the following YAML example, the right substitute for
<workflow-id> would be
workflows: release-workflow: name: Release
Thus, the final URL should look something like
To use the build status badge with markdown, e.g. when adding it to a repository’s README, it should be formatted in the following way:
[![Codemagic build status](https://api.codemagic.io/apps/<app-id>/<workflow-id>/status_badge.svg)](https://codemagic.io/apps/<app-id>/<workflow-id>/latest_build)