1. Deploy Web App

Purpose: Build, validate, and deploy the web application with full pre-flight checks.

Prerequisites:

  • All dependencies installed (bun install)
  • Vercel CLI configured and authenticated
  • Any new migrations applied to Supabase before deploying code that depends on them

Cost / Duration: $0 locally | deployment costs per Vercel plan | 5-10 minutes

Prompt

Deploy the web app with full pre-flight checks.

Step 1 — Run full CI validation:

```bash
bun run ci
```

This runs lint, typecheck, tests, migrations index check,
changelog check, and env example validation in one command.

Step 2 — If CI passes, deploy:

```bash
# Preview deployment
vercel

# Production deployment (confirm before running)
vercel --prod
```

Do NOT deploy if any pre-flight step fails. Fix the issue first,
then restart from Step 1.

Verification

  • bun run ci passes cleanly (lint, typecheck, tests, migrations, changelog)
  • Preview deployment is functional
  • Production deployment loads at app.eko.day
  • Feed displays fact cards across categories
  • No console errors on deployed site

Back to index