Skip to content

ci: deploy the site to Cloudflare Workers instead of GitHub Pages - #3

Merged
juancobo merged 1 commit into
site/scaffoldfrom
deploy/cloudflare-workers
Nov 9, 2026
Merged

juancobo merged 1 commit into
site/scaffoldfrom
deploy/cloudflare-workers

Conversation

@juancobo

@juancobo juancobo commented Nov 9, 2026

Copy link
Copy Markdown
Member

GitHub Pages is not available for a private repository on the organisation's plan, and captua.org is registered at Cloudflare.

  • wrangler.jsonc serves public/ as static assets (no Worker script), answers unmatched paths with 404.html, and binds the custom domain captua.org.
  • The workflow (renamed site.yml) still builds and tests every pull request; on a push to main it deploys with cloudflare/wrangler-action v4.1.3 and Wrangler 4.152.0, both pinned.
  • static/CNAME is removed; scripts/verify.py checks wrangler.jsonc instead.
  • The deploy needs two repository secrets, CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID.

@juancobo
juancobo merged commit 3e46975 into site/scaffold Nov 9, 2026
1 check passed
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