Skip to content
play

GitHub Action

Capawesome Cloud Live Update Action

v0.0.2 Latest version

Capawesome Cloud Live Update Action

play

Capawesome Cloud Live Update Action

Deploy a live update to the Capawesome Cloud

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Capawesome Cloud Live Update Action

uses: capawesome-team/[email protected]

Learn more about this action in capawesome-team/cloud-live-update-action

Choose a version

cloud-live-update-action

GitHub Action to deploy a Capacitor Live Update to the Capawesome Cloud.

Usage

- uses: capawesome-team/[email protected]
  with:
    # The Capawesome Cloud app ID.
    # Required.
    appId: ''
    # The channel to deploy the update to.
    channel: ''
    # The path to the bundle to upload. Must be a folder or zip archive.
    # Required.
    path: ''
    # The Capawesome Cloud API token.
    # Required.
    token: ''

Example

name: Deploy Live Update
on:
  push:
    branches:
      - main
jobs:
  uplaod-file:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Build web assets
        run: npm run build
      - name: Deploy Live Update
        uses: capawesome-team/[email protected]
        id: upload-action
        with:
          appId: 'addb597c-9cbd-4cdc-bcc0-cd5c2234a03f'
          channel: 'production-1.0.0'
          path: 'dist'
          token: ${{ secrets.CAPAWESOME_TOKEN }}

License

See LICENSE.