Set up Expo OTA updates and CI workflows
CodexBar Mobile Build / build-android (push) Has been cancelled
CodexBar Mobile Build / release (push) Has been cancelled

This commit is contained in:
Space-Banane
2026-07-04 19:34:22 +02:00
parent dc7e497388
commit 896f9149f1
6 changed files with 177 additions and 1 deletions
+57
View File
@@ -0,0 +1,57 @@
name: Publish OTA updates
on:
push:
branches: ['main']
paths:
- 'app/**'
- 'components/**'
- 'hooks/**'
- 'lib/**'
- 'types/**'
- 'assets/**'
- 'App.tsx'
- 'index.ts'
- 'global.css'
- 'tailwind.config.js'
- 'babel.config.js'
- 'metro.config.js'
workflow_dispatch:
inputs:
channel:
type: choice
description: Update channel to publish.
default: production
options:
- preview
- production
environment:
type: choice
description: EAS environment to use for the update job.
default: production
options:
- preview
- production
message:
description: Optional update message override.
required: false
jobs:
publish_main:
if: ${{ github.event_name == 'push' }}
name: Publish production update
type: update
environment: production
params:
channel: production
platform: all
publish_manual:
if: ${{ github.event_name == 'workflow_dispatch' }}
name: Publish selected update
type: update
environment: ${{ inputs.environment }}
params:
channel: ${{ inputs.channel }}
message: ${{ inputs.message }}
platform: all