Skip to content

docs: Cloudflare Pages deployment and cron setup - #52

Draft
SaharPak wants to merge 1 commit into
mainfrom
cursor/cloudflare-deployment-docs-44a5
Draft

docs: Cloudflare Pages deployment and cron setup#52
SaharPak wants to merge 1 commit into
mainfrom
cursor/cloudflare-deployment-docs-44a5

Conversation

@SaharPak

Copy link
Copy Markdown
Owner

Summary

Updates deployment and operations documentation to reflect Cloudflare Pages as the production host instead of Vercel-only instructions.

Changes

  • README.md

    • Stack lists Cloudflare Pages + scheduled Worker for demo-day snapshots
    • Supabase setup adds auth redirect URLs and storage upload/read policies
    • New "Deploy to Cloudflare Pages" section (env vars, build settings, cron requirement)
    • Vercel kept as an optional alternative via existing vercel.json
  • OPERATIONS.md

    • Automated cron section rewritten for Cloudflare Cron Triggers
    • Includes example Worker (wrangler.toml + src/index.ts) and secret setup
    • Notes Vercel auto-cron for teams still on Vercel

Why

Production is deployed on Cloudflare; vercel.json crons do not run there. Docs now match the actual hosting setup and give a copy-paste path for the Friday snapshot job.

Open in Web Open in Cursor 

Replace Vercel-centric deployment instructions with Cloudflare Pages
guidance, including env vars, auth redirect URLs, storage policies, and
a Cloudflare Cron Trigger Worker for the weekly demo-day snapshot.
Keep Vercel as an optional alternative where vercel.json applies.

Co-authored-by: Sahar <SaharPak@users.noreply.github.com>
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.

2 participants