We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09da118 commit 6655df3Copy full SHA for 6655df3
1 file changed
.github/workflows/build-debug-apk.yml
@@ -46,11 +46,14 @@ jobs:
46
- name: Install dependencies
47
run: npm ci
48
49
- - name: Build web app
50
- run: npm run build
51
-
52
- - name: Strip docs from dist (if any)
53
- run: rm -rf dist/docs 2>/dev/null || true
+ # Note: we don't run `npm run build` because the Capacitor wrapper loads
+ # the live web app from https://spendwisev2.vercel.app — nothing local
+ # is shipped inside the APK. We just need a non-empty dist/ folder for
+ # `npx cap sync` to be happy.
+ - name: Create placeholder dist
54
+ run: |
55
+ mkdir -p dist
56
+ echo '<!doctype html><meta charset="utf-8"><title>SpendWise</title>' > dist/index.html
57
58
- name: Sync Capacitor
59
run: npx cap sync android
0 commit comments