Deploy the core frontend apps only: apps/web-astro and apps/admin.
Confirm Cloudflare targets
Use the current repo config as the source of truth:
apps/web-astrodeploys as a Worker namedwebapps/admindeploys as a Pages project namedadmin
Keep these names unless you also update the matching wrangler.toml, domains, and environment variables.
Deploy apps/web-astro
apps/web-astro uses Astro with @astrojs/cloudflare and deploys as a Worker with static assets.
cd apps/web-astro
pnpm run build
npx wrangler deploy
cd ../..Deploy apps/admin
apps/admin uses Nuxt. Build and deploy to Cloudflare Pages:
cd apps/admin
npx nuxi build --preset=cloudflare_pages
npx wrangler pages deploy dist --project-name=admin --branch=main --commit-dirty=true
cd ../..Or use the project's configured deploy command (e.g. pnpm run deploy if defined).
Set environment variables
After deployment, configure frontend Cloudflare environment variables:
- Backend service URLs (e.g.
AUTH_SERVICE_URL,SUPPORT_SERVICE_URL, etc.) ZSHIP_KEYif you use public HTTP fallback instead of Service Bindings- Any other required public vars
For apps/web-astro, use Worker vars/secrets. For apps/admin, use Pages vars/secrets.
SESSION binding warning
If you see a SESSION binding warning, the expected KV binding may not be configured. Check:
- Wrangler/Pages binding configuration
- Whether the target environment matches what you prepared
Checklist
- [ ]
apps/web-astroWorker deployed - [ ]
apps/adminPages project deployed - [ ] Critical environment variables set

