CircleCI

CircleCI App Distribution, From Job to Install Link

Drop AppShare into your config.yml for CircleCI app distribution without a separate tool: a build ships the moment your workflow reaches that job, with no manual step waiting at the end of the pipeline.

What You Get

Three Reasons Teams Automate This Job

  • Keeps Pace With a Fast Pipeline

    CircleCI is built around quick feedback and caching, adding AppShare as a job doesn't slow that down, it just adds one more thing that happens automatically.

  • Fits Into an Existing Workflow

    If you're already orchestrating multiple jobs with workflows, the release job slots in as one more step with its own filters and dependencies.

  • Starts From a Clean Environment Every Time

    Each job runs in a fresh container or VM, so nothing left over from a previous run can affect the upload.

SETUP

Set Up CircleCI Mobile App Deployment in Four Steps

Push every APK, or handle CircleCI IPA deployment, as one more job in the pipeline you already run.

1
Step 1

Find your config file under the .circleci folder.

2

Set your API key in Environment Variables

Secret

In Project Settings → Environment Variables, add APPSHARE_API_KEY.

3

Add the upload job

Pipeline

Add the upload job to your CircleCI workflow.

4

Commit & Push

Deploy

Push your changes to trigger your CircleCI pipeline.

Step 1 of 4
Step 1

Open .circleci/config.yml

Open .circleci/config.yml at your repository root.

.circleci/config.yml

version: 2.1
jobs:
  # Your existing build and test jobs

LIFECYCLE

What Actually Happens on a Run

  • 01

    Pipeline Kicks Off

    A push to main starts the pipeline, and the releaseworkflow evaluates which jobs should run.

  • 02

    Executor Builds the App

    CircleCI starts a fresh Docker container for Android, or a macOS executor for CircleCI iOS deployment, runs the real build command, and saves the file to the workspace.

  • 03

    AppShare CLI Installs

    The release job attaches the workspace and installs AppShare CLI fresh, every single time.

  • 04

    Build Gets Pushed

    The CLI reads the environment variable and uploads the file the build step just produced.

UNDER THE HOOD

CircleCI Just Runs the CLI

The job you added is just AppShare CLI, executing inside CircleCI instead of your terminal.

Not Using CircleCI

AppShare Works With Your Pipeline Too

FAQ

Questions About the CircleCI Integration

What is CircleCI app distribution?

CircleCI app distribution means sending every Android or iOS build your CircleCI pipeline produces straight to testers. With AppShare, a release job in .circleci/config.yml installs the AppShare CLI and uploads the .apk or .ipa once your build and test jobs pass. Testers get an install link and QR code without anyone uploading the build by hand.

How does CircleCI iOS deployment work for IPA builds?

CircleCI IPA deployment needs a macOS executor to build and sign the .ipa. Save the file with persist_to_workspace, then have the release job pick it up with attach_workspace. That release job can run on a lightweight Docker executor, since it only installs the CLI and uploads. Ad hoc builds only install on registered UDIDs, so add tester devices first.

What triggers the release job?

Whatever you define under filters in the workflow. A push to a specific branch such as main is the most common, but tags and other conditions work too. Combine filters with requires: so the release job runs only on the branches you choose and only after every job it depends on has passed, never on a broken build.

How do I set up CircleCI mobile app deployment with AppShare?

Open .circleci/config.yml, add a push_to_appshare entry under jobs:, and reference it from your workflows: block. Use requires: so the release job only runs after your build and test jobs succeed, and set your API key in Project Settings first. Commit the file, and the next pipeline that reaches the job uploads the build automatically.

How do I keep my API key out of the config file?

Add it in Project Settings, Environment Variables, or in a Context if several projects should share the same key. Then reference it as an environment variable in your run step instead of writing it into config.yml. CircleCI masks the value in job output, so the key never appears in your repository or your build logs.

Can I add release notes automatically?

Not from the pipeline yet. The AppShare CLI uploads the build (appshare <file> --app-id <slug>) and has no release notes flag. Once the upload finishes, add or edit the notes on the release's Release Notes tab in AppShare, and testers see them on the install page.

Get Started

Add It to Your Next Workflow Run

Add the job, set the variable, and CircleCI takes it from there.

  • Runs in a clean container every time

  • Gate it behind test jobs with requires

  • Works with Docker, machine, or macOS executors

About Zunoy

Ask a question about Zunoy's products, pricing, or docs.

⌘K