Skip to content

Commit c0b8df4

Browse files
committed
Fix
1 parent cc3af74 commit c0b8df4

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

.github/workflows/cd-android-live-update.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,22 @@ jobs:
5858
if: steps.check.outputs.changed == 'true'
5959
run: yarn install
6060

61-
- name: Deploy live update
61+
- name: Build
6262
if: steps.check.outputs.changed == 'true'
6363
env:
6464
NEXT_PUBLIC_FIREBASE_API_KEY: ${{ secrets.NEXT_PUBLIC_FIREBASE_API_KEY }}
6565
NEXT_PUBLIC_SUPABASE_INSTANCE_ID: ${{ secrets.NEXT_PUBLIC_SUPABASE_INSTANCE_ID }}
6666
NEXT_PUBLIC_SUPABASE_KEY: ${{ secrets.NEXT_PUBLIC_SUPABASE_KEY }}
67-
run: yarn android-live-update
67+
run: yarn build-web-view
68+
69+
- name: Deploy Live Update
70+
uses: capawesome-team/[email protected]
71+
id: upload-action
72+
with:
73+
appId: '969bc540-8077-492f-8403-b554bee5de50'
74+
channel: 'default'
75+
commitMessage: $(git log -1 --pretty=format:"%s")
76+
commitRef: ${{ github.head_ref || github.ref_name }}
77+
commitSha: ${{ github.sha }}
78+
path: 'web/out'
79+
token: ${{ secrets.CAPAWESOME_TOKEN }}

android/capawesome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": 4
2+
"version": 6
33
}

scripts/android_live_update.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,4 @@ yarn build-web-view
99
npx @capawesome/cli apps:bundles:create \
1010
--app-id 969bc540-8077-492f-8403-b554bee5de50 \
1111
--channel default \
12-
--commit-message $(git log -1 --pretty=format:"%s") \
13-
--commit-ref 'd699ceae3890f70a7bc66720bc980398f799a6e1' \
14-
--commit-sha 'd699ceae3890f70a7bc66720bc980398f799a6e1' \
1512
--path web/out

0 commit comments

Comments
 (0)