Skip to content

Fix CI android: populate out/ directory for Capacitor sync#57

Merged
sparshsam merged 3 commits into
mainfrom
fix-ci-android-populate-out
Jun 28, 2026
Merged

Fix CI android: populate out/ directory for Capacitor sync#57
sparshsam merged 3 commits into
mainfrom
fix-ci-android-populate-out

Conversation

@sparshsam

Copy link
Copy Markdown
Owner

After switching to normal npx next build (non-export), the out/ directory was empty, causing cap sync to fail with web assets directory must contain an index.html.\n\nFix: after the build, copy the generated pages and static assets from .next/ to out/ so Capacitor's sync step can proceed. Falls back to a minimal redirect if no page was generated.

@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

Deployment failed with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/sparsh-sams-projects?upgradeToPro=build-rate-limit

@sparshsam sparshsam force-pushed the fix-ci-android-populate-out branch from e60a262 to bffa66c Compare June 28, 2026 06:33
@sparshsam sparshsam force-pushed the fix-ci-android-populate-out branch from 47f55b3 to 6c3fea0 Compare June 28, 2026 06:36
The heredoc EOF terminator was indented inside YAML literal block,
causing a YAML parsing error (workflow file issue).
@sparshsam sparshsam merged commit 4cf6a24 into main Jun 28, 2026
1 of 3 checks passed
@sparshsam sparshsam deleted the fix-ci-android-populate-out branch June 28, 2026 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant