---
description: Use Bitbucket Pipelines to build your web assets and create bundles on Capawesome Cloud using the Capawesome CLI.
title: Integrate Capawesome Cloud with Bitbucket Pipelines - Capawesome
image: https://capawesome.io/docs/assets/images/social/cloud/live-updates/integrations/bitbucket-pipelines.png
---

[ Skip to content](#bitbucket-pipelines) 

[ 🎉 Introducing **Capawesome Platform** — one platform for Live Updates, Native Builds, App Store Publishing, and Insider SDKs.](https://capawesome.io) 

* [  Formbricks ](/docs/plugins/formbricks/)
* [  Geocoder ](/docs/plugins/geocoder/)
* [  Google Sign-In ](/docs/plugins/google-sign-in/)
* [  Grafana Faro ](/docs/plugins/grafana-faro/)
* [  libSQL ](/docs/plugins/libsql/)
* [  Live Update ](/docs/plugins/live-update/)
* [  Managed Configurations ](/docs/plugins/managed-configurations/)
* [  Media Session ](/docs/plugins/media-session/)
* [  ML Kit ](/docs/plugins/mlkit/)
* [  Navigation Bar ](/docs/plugins/navigation-bar/)
* [  NFC ](/docs/plugins/nfc/)
* [  OAuth ](/docs/plugins/oauth/)
* [  Pedometer ](/docs/plugins/pedometer/)
* [  Photo Editor ](/docs/plugins/photo-editor/)
* [  PostHog ](/docs/plugins/posthog/)
* [  Printer ](/docs/plugins/printer/)
* [  Purchases ](/docs/plugins/purchases/)
* [  RealtimeKit ](/docs/plugins/realtimekit/)
* [  Screen Orientation ](/docs/plugins/screen-orientation/)
* [  Screenshot ](/docs/plugins/screenshot/)
* [  Secure Preferences ](/docs/plugins/secure-preferences/)
* [  Speech Recognition ](/docs/plugins/speech-recognition/)
* [  Speech Synthesis ](/docs/plugins/speech-synthesis/)
* [  Share Target ](/docs/plugins/share-target/)
* [  Square Mobile Payments ](/docs/plugins/square-mobile-payments/)
* [  SQLite ](/docs/plugins/sqlite/)
* [  Superwall ](/docs/plugins/superwall/)
* [  Torch ](/docs/plugins/torch/)
* [  Wifi ](/docs/plugins/wifi/)
* [  Zip ](/docs/plugins/zip/)
* [  Cloud ](/docs/cloud/)
* [  Live Updates ](/docs/cloud/live-updates/)
* Advanced
* Integrations
* [  Pipeline ](#pipeline)
* [  GitHub Actions ](/docs/cloud/live-updates/integrations/github-actions/)
* [  GitLab CI/CD ](/docs/cloud/live-updates/integrations/gitlab-ci/)
* [  Native Builds ](/docs/cloud/native-builds/)
* [  Configuration ](/docs/cloud/native-builds/configuration/)
* [  Environments ](/docs/cloud/native-builds/environments/)
* Guides
* [  Sample Projects ](/docs/cloud/native-builds/sample-projects/)
* [  Troubleshooting ](/docs/cloud/native-builds/troubleshooting/)
* [  Automations ](/docs/cloud/automations/)
* [  Assist ](/docs/cloud/assist/)
* Account
* Organizations
* [  Organization and User Management ](/docs/cloud/organizations/memberships/)
* [  Single Sign-On (SSO) ](/docs/cloud/organizations/sso/)
* [  Teams ](/docs/cloud/organizations/teams/)
* [  Two-Factor Authentication ](/docs/cloud/organizations/two-factor-authentication/)
* [  Integrations ](/docs/cloud/integrations/)
* [  License Keys ](/docs/cloud/license-keys/)
* [  Webhooks ](/docs/cloud/webhooks/)
* [  Pricing ](https://capawesome.io/pricing/)
* [  FAQ ](/docs/cloud/faq/)
* [  Support ](/docs/cloud/support/)
* [  Contributing ](/docs/contributing/)
* [  LLMs ](/docs/llms/)
* [  Insiders ](/docs/insiders/)
* [  License ](https://capawesome.io/legal/eula/)
* [  Support ](/docs/insiders/support/)
* [  FAQ ](/docs/insiders/faq/)
* [  Blog ](/blog/)
* Categories

* [  Pipeline ](#pipeline)

# Bitbucket Pipelines[¶](#bitbucket-pipelines "Permanent link")

You can easily publish Live Updates to Capawesome Cloud using [Bitbucket Pipelines](https://www.atlassian.com/de/software/bitbucket/features/pipelines). In this guide, we will show you how to create a Bitbucket pipeline that builds your web assets and creates a bundle on Capawesome Cloud using the [Capawesome CLI](/docs/cloud/cli/).

## Preparation[¶](#preparation "Permanent link")

Before you start, make sure you have a Capawesome Cloud account and an app set up. Next, you need to create a Capawesome Cloud token and add it to your Bitbucket repository as a secure variable.

### Create a Capawesome Cloud token[¶](#create-a-capawesome-cloud-token "Permanent link")

Create a new Capawesome Cloud token via the [Capawesome Cloud Console](https://console.cloud.capawesome.io/settings/tokens). Just navigate to the `Tokens` page in the settings and click on the `Create Token` button. Choose a name for the token and click on the `Create` button. The token is now copied to your clipboard.

### Create a Bitbucket Repository Variable[¶](#create-a-bitbucket-repository-variable "Permanent link")

Add the Capawesome Cloud token to your Bitbucket repository as an encrypted secret with the name `CAPAWESOME_CLOUD_TOKEN` as described in [Variables and secrets](https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/).

## Pipeline[¶](#pipeline "Permanent link")

### Create the Pipeline[¶](#create-the-pipeline "Permanent link")

Create a new Bitbucket Pipeline file in your repository under `bitbucket-pipelines.yml` with the following content:

`[](#%5F%5Fcodelineno-0-1)image: node:20
[](#%5F%5Fcodelineno-0-2)
[](#%5F%5Fcodelineno-0-3)pipelines:
[](#%5F%5Fcodelineno-0-4)  custom:
[](#%5F%5Fcodelineno-0-5)    deploy-live-update:
[](#%5F%5Fcodelineno-0-6)      - variables:
[](#%5F%5Fcodelineno-0-7)          - name: Channel
[](#%5F%5Fcodelineno-0-8)      - step:
[](#%5F%5Fcodelineno-0-9)          name: Build web assets
[](#%5F%5Fcodelineno-0-10)          caches:
[](#%5F%5Fcodelineno-0-11)            - node
[](#%5F%5Fcodelineno-0-12)          script:
[](#%5F%5Fcodelineno-0-13)            - npm ci
[](#%5F%5Fcodelineno-0-14)            - npm run build
[](#%5F%5Fcodelineno-0-15)            - npm install -g @capawesome/cli@latest
[](#%5F%5Fcodelineno-0-16)            - npx @capawesome/cli apps:channels:create --app-id 00000000-0000-0000-0000-000000000000 --name $Channel --ignore-errors
[](#%5F%5Fcodelineno-0-17)            - npx @capawesome/cli apps:liveupdates:upload --app-id 00000000-0000-0000-0000-000000000000 --path dist --channel $Channel
`

This pipeline will build your web assets, log in to Capawesome Cloud, create a channel (if it does not exist yet), and create a bundle for the specified channel.

### Trigger the Pipeline[¶](#trigger-the-pipeline "Permanent link")

You can then trigger the pipeline manually via the Bitbucket Pipelines UI as described in [Scheduled and manually triggered pipelines](https://support.atlassian.com/bitbucket-cloud/docs/pipeline-triggers/). Of course, you can also trigger the pipeline automatically by specifying specific [Pipeline start conditions](https://support.atlassian.com/bitbucket-cloud/docs/pipeline-start-conditions/).

January 24, 2026 

 Back to top 