Skip to content

Migrate hosting: Netlify → Cloudflare Workers (static assets) #19

Description

@seandavi

Move pubmed-grader.cancerdatasci.org off Netlify onto the Cloudflare Workers + static assets workflow (preferred stack going forward).

  • Add wrangler.jsonc with assets binding serving the frontend/ Vite build output (SPA fallback for client routing)
  • Replace Netlify deploy with CI deploy (wrangler deploy via GitHub Actions, or Workers Builds git integration)
  • Port anything in netlify.toml (redirects/headers) to Worker config
  • Build-time env: set VITE_GA_MEASUREMENT_ID=G-WCMEHJ2XZ7 — the new consolidated GA4 stream ID (old G-4GG8ZH5XTX; part of seandavi/ga4-analytics#25), so the GA cutover ships with the migration
  • Point pubmed-grader.cancerdatasci.org DNS/custom-domain at the Worker; verify, then decommission the Netlify site

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions