---
title: Auto-Publish a Live Update
description: Automatically build your web assets and publish a Live Update on every push with a Capawesome Cloud automation.
---

# Auto-Publish a Live Update

Attach one or more [Live Update channels](../live-updates/channels.md) to an automation and it will build your web assets and **publish a Live Update** automatically — a Git → web build → over-the-air update pipeline. Push your change, and devices pick it up on their next launch without an app store release.

## Set it up

1. Make sure your app is set up for [Live Updates](../live-updates/setup.md).
2. Create an [automation](trigger-on-branch-pushes.md) with the trigger you want — for example, a push to `main`.
3. Set the **Platform** to **Web**.
4. In the automation's [build settings](attach-build-settings.md), select the **Channels** to publish to.

Now every matching push builds your web assets in the cloud and publishes a Live Update to the selected channels, which devices pick up on their next launch.

!!! tip "Keep updates compatible"

    A Live Update can only change your web layer, so it must stay compatible with the installed native binary. Publish to a [versioned channel](../live-updates/setup.md#make-updates-version-compatible) so updates only ever reach native versions that can run them — see [Binary-Compatible Changes](../live-updates/binary-compatible-changes.md) for why this matters.

## Publish to multiple channels

To ship the same web build to several channels, select each of them in the **Channels** field, or repeat the `--channel` option when you create the automation with the CLI:

```bash
npx @capawesome/cli apps:automations:create \
  --name web-release \
  --platform web \
  --trigger-type branch \
  --trigger-pattern main \
  --channel production \
  --channel staging
```

## Next steps

- [Publish a Live Update](../live-updates/publish.md) — how publishing works when you do it by hand.
- [Trigger on branch pushes](trigger-on-branch-pushes.md) — the recommended trigger for continuous web releases.
- [Auto-submit to a store](auto-submit.md) — the native-app equivalent for store releases.
