GitHub source / Cloudflare edge
Two valid routes.
Choose one host.
The Worker template in this ZIP preserves the literal GitHub Pages → Worker → visitor chain. Cloudflare Pages direct integration is a separate hosting option, not another proxy layer.
GitHub Pages → Worker
Git-FED updates GitHub. GitHub Pages serves the origin. A fixed-origin Cloudflare Worker forwards public requests to that origin.
Open Worker setup HTMLGitHub repo → Cloudflare Pages
Cloudflare Pages watches the GitHub repository and deploys the static site itself. In this option, GitHub Pages is not in the live request path.
Cloudflare Git setup guide ↗Use one public production hostname path. The ZIP contains Worker source and configuration placeholders only; it has not been deployed.