Implement OTA Updates (#364)

Implements OTA updates, fetched via GitHub from our `App-Bundles` repository

All Typescript changes can be delivered this way

All native changes will need to go through the traditional `publish-beta` workflow, which is now run manually
This commit is contained in:
Ritesh Shukla
2025-05-15 21:34:50 +05:30
committed by GitHub
parent 77884bdda9
commit 20937ff359
13 changed files with 549 additions and 18 deletions

View File

@@ -1,8 +1,7 @@
name: Publish Android APK and TestFlight Betas
on:
push:
branches:
- 'main'
workflow_dispatch:
jobs:
publish-beta:
runs-on: macos-15

View File

@@ -0,0 +1,27 @@
name: Publish Over-the-Air Update
on:
push:
branches:
- 'main'
jobs:
publish-ota-update:
runs-on: macos-15
steps:
- name: 🛒 Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.SIGNING_REPO_PAT }}
- name: 🖥 Setup Node 20
uses: actions/setup-node@v4
with:
node-version: 20
- name: 🧵 Run yarn
run: yarn
- name: 🤖 Publish Android Update
run: yarn sendOTA:android
- name: 🍎 Publish iOS Update
run: yarn sendOTA:iOS