Skip to content

Deploy the production Worker on every push to main - #55

Merged
PChild merged 1 commit into
mainfrom
fix/cloudflare-deploy
Nov 29, 2026
Merged

PChild merged 1 commit into
mainfrom
fix/cloudflare-deploy

Conversation

@PChild

@PChild PChild commented Nov 29, 2026

Copy link
Copy Markdown
Member

What changed

  • Adds a production deploy workflow that builds and deploys the Cloudflare Worker on every push to main (and on manual dispatch), so merging a PR updates team401.org again.
  • Records each production run in the existing Production environment with https://team401.org as its URL.
  • Pins team401.org as the Worker's custom domain in cloudflare.config.ts so deploys keep the apex attached.

Already applied

  • team401.org now serves the new Worker (calendar removed, sponsor links fixed).
  • The GitHub Pages site was deleted, and the stale github-pages and Preview environments were removed; Production is the only environment left.

Note

Uses the existing CLOUDFLARE_API_TOKEN repository secret.

Merging to main stopped updating the site after the move off GitHub Pages. Build and deploy the Worker on main, keep team401.org attached as its custom domain, and record each deploy in the Production environment.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ b51bd1e 2026-11-29T03:02:29.249Z Visit the dashboard ↗

@PChild
PChild merged commit 166f4cb into main Nov 29, 2026
4 checks passed
@PChild
PChild deleted the fix/cloudflare-deploy branch November 29, 2026 03:07
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.

1 participant