- Pages project name:
react-on-django-com - Primary domain:
react-on-django.com - Cloudflare account ID:
fed541b7e7055a428a1b045aa3cd2c89
Set these in the shakacode/react-on-django.com repository:
CLOUDFLARE_API_TOKENCLOUDFLARE_ACCOUNT_ID
Optional repository variable:
CLOUDFLARE_PAGES_PROJECT(defaults toreact-on-django-com)
Expected values:
CLOUDFLARE_ACCOUNT_IDmust befed541b7e7055a428a1b045aa3cd2c89CLOUDFLARE_API_TOKENmust belong to that same account and have permission to manage thereact-on-django-comPages project
The Cloudflare Pages pipeline:
- checks out the repo
- syncs docs from the local path or GitHub fallback
- optionally checks out the exact upstream commit SHA from the dispatch payload
- prepares the Docusaurus docs tree
- runs the root
npm run buildflow - deploys
prototypes/docusaurus/buildthroughwrangler pages deploy
shakacode/react-on-django is the canonical docs source. Its
Trigger docs site rebuild workflow dispatches this repo after docs/**
changes land on main.
For manual verification, either:
- run the source-side workflow with
workflow_dispatch, or - run this repo's
Site Build and Deployworkflow manually withrepo_url,ref, and optionalshainputs
Attach the custom domain to the Pages project:
- Workers & Pages ->
react-on-django-com - Custom domains ->
Set up a custom domain - Add:
react-on-django.comwww.react-on-django.com(optional)
Cloudflare provisions TLS automatically after the domain is attached.
If the same hostname is already attached to a legacy custom-domain Worker, remove that Worker-domain attachment first so the Pages project can own the hostname.
Site redirects live in prototypes/docusaurus/static/_redirects.
They currently preserve the expected docs namespace and old licensing URLs:
/react-on-django/docs/*->/docs/:splat/react-on-django/docs->/docs