Book 2 · Lesson 2.9
Cloudflare Pages for Academy
- Separate static Academy deploy from Team Radar runtime
- Trace git push to Pages CDN
- Run build:academy before push
Prerequisites: 2.1
Academy and Team Radar deploy differently:
| Product | Runtime | Deploy |
|---|---|---|
| Academy | Static HTML/JS | Cloudflare Pages |
| Team Radar | Docker services | Local compose (demo) |
PagesDeployFlow — push → build → CDN.
Checklist
pnpm build:academy # must pass
git push origin main # triggers Pages
Live site: https://millipede-academy.pages.dev
Teach-back prompt
Why doesn’t Academy need Kafka at runtime?
Git → Pages
Lab complete — nice work.