mirror of
https://github.com/CompassConnections/Compass.git
synced 2025-12-23 22:18:43 -05:00
Fix
This commit is contained in:
16
.github/workflows/cd-android-live-update.yml
vendored
16
.github/workflows/cd-android-live-update.yml
vendored
@@ -58,10 +58,22 @@ jobs:
|
||||
if: steps.check.outputs.changed == 'true'
|
||||
run: yarn install
|
||||
|
||||
- name: Deploy live update
|
||||
- name: Build
|
||||
if: steps.check.outputs.changed == 'true'
|
||||
env:
|
||||
NEXT_PUBLIC_FIREBASE_API_KEY: ${{ secrets.NEXT_PUBLIC_FIREBASE_API_KEY }}
|
||||
NEXT_PUBLIC_SUPABASE_INSTANCE_ID: ${{ secrets.NEXT_PUBLIC_SUPABASE_INSTANCE_ID }}
|
||||
NEXT_PUBLIC_SUPABASE_KEY: ${{ secrets.NEXT_PUBLIC_SUPABASE_KEY }}
|
||||
run: yarn android-live-update
|
||||
run: yarn build-web-view
|
||||
|
||||
- name: Deploy Live Update
|
||||
uses: capawesome-team/cloud-live-update-action@v0.0.5
|
||||
id: upload-action
|
||||
with:
|
||||
appId: '969bc540-8077-492f-8403-b554bee5de50'
|
||||
channel: 'default'
|
||||
commitMessage: $(git log -1 --pretty=format:"%s")
|
||||
commitRef: ${{ github.head_ref || github.ref_name }}
|
||||
commitSha: ${{ github.sha }}
|
||||
path: 'web/out'
|
||||
token: ${{ secrets.CAPAWESOME_TOKEN }}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"version": 4
|
||||
"version": 6
|
||||
}
|
||||
@@ -9,7 +9,4 @@ yarn build-web-view
|
||||
npx @capawesome/cli apps:bundles:create \
|
||||
--app-id 969bc540-8077-492f-8403-b554bee5de50 \
|
||||
--channel default \
|
||||
--commit-message $(git log -1 --pretty=format:"%s") \
|
||||
--commit-ref 'd699ceae3890f70a7bc66720bc980398f799a6e1' \
|
||||
--commit-sha 'd699ceae3890f70a7bc66720bc980398f799a6e1' \
|
||||
--path web/out
|
||||
|
||||
Reference in New Issue
Block a user