TWAM: Publish a page change

TWAM: Publish a page change A workflow diagram generated by Archify. 01 / Student / contributor 02 / GitHub 03 / Cloudflare Workers Builds EX / Fix and retry Author Test on preview Ship to production Preview gate Production ship Repair loop Edit content · app/ + content/ · Student / contributor › Author Edit content app/ + content/ Feature branch · not main · Student / contributor › Author Feature branch not main Check preview · looks right? · Student / contributor › Test on preview Check preview looks right? Pull request · reviewed diff · GitHub › Test on preview Pull request reviewed diff Merge to main · approved PR · GitHub › Ship to production Merge to main approved PR Workers Build · npm run build · Cloudflare Workers Builds › Preview gate › Test on preview · CI Workers Build npm run build CI Preview URL · versions upload · Cloudflare Workers Builds › Preview gate › Test on preview · *.workers.dev Preview URL versions upload *.workers.dev wrangler deploy · promote out/ · Cloudflare Workers Builds › Production ship › Ship to production · production wrangler deploy promote out/ production Live site · theworldandme.net · Cloudflare Workers Builds › Production ship › Ship to production Live site theworldandme.net Build failed · fix logs · Fix and retry › Repair loop › Test on preview Build failed fix logs Fix and push · same branch · Fix and retry › Repair loop › Test on preview Fix and push same branch open PR red main push trigger open link re-run approve Legend User UI Agent logic Policy Tool action Cloud service External system

Student checklist

  • • Never push unfinished work straight to main
  • • Always open the preview URL before merge
  • • If the build is red, fix the branch and push again

IT / pipeline facts

  • • Preview uses wrangler versions upload — not production deploy
  • • Production uses wrangler deploy after merge to main
  • • Static Next export lands in out/ then the Worker serves it

Stop conditions

  • • Failed Workers Build blocks a trustworthy preview
  • • Do not merge on a red check
  • • Stale extra Workers projects can confuse PR checks — keep one live Worker