CI/CD
Publish OTA releases from your existing pipeline.
Pipeline configuration
yaml
name: OTA release
on:
push:
branches: [main]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npx fireota bundle --platform android
- run: npx fireota release publish \
--app ledger \
--channel beta \
--rollout 10
env:
FIREOTA_API_KEY: ${{ secrets.FIREOTA_API_KEY }}Store the key as FIREOTA_API_KEY in your pipeline secrets — never in the repository.