My App

CI/CD Integration

Distribute builds automatically inside your CI/CD pipelines

🤖 CI/CD Integration

Deploying with BuildShare in a headless environment or automation script is straightforward.

GitHub Actions

To automate your build distribution via GitHub Actions:

# GitHub Actions Workflow
- name: Upload to BuildShare
  env:
    BUILDSHARE_API_TOKEN: ${{ secrets.BUILDSHARE_TOKEN }}
    BUILDSHARE_CI: true
  run: |
    npx buildshare upload android \
      --file ./app.apk \
      --changelog "Build ${{ github.run_number }}" \
      --version-name "1.0.${{ github.run_number }}" \
      --version-code "${{ github.run_number }}" \
      --no-confirm

Gitlab CI

Add the upload step to your .gitlab-ci.yml:

buildshare-upload:
  stage: deploy
  variables:
    BUILDSHARE_API_TOKEN: $BUILDSHARE_TOKEN
    BUILDSHARE_CI: "true"
  script:
    - npx buildshare upload android --file ./app.apk --changelog "Build $CI_PIPELINE_IID" --release development

On this page