Add production blog Worker workflow
This commit is contained in:
@@ -5,9 +5,10 @@ the same root repository. Its non-production Worker is
|
||||
`3031023-xyz-blog-preview` and its workers.dev preview URL is published by
|
||||
Cloudflare after the pilot workflow completes.
|
||||
|
||||
The Worker is now attached only to `blog.3031023.xyz` for the Phase 5 hosted
|
||||
subdomain test. Its deployed preview build intentionally remains `noindex` and
|
||||
disallows crawling until a separately approved production blog release exists.
|
||||
The preview Worker remains attached only to `blog.3031023.xyz` during the
|
||||
hosted-test period. Its deployed preview build intentionally remains `noindex`
|
||||
and disallows crawling until the separately deployed production blog Worker is
|
||||
verified and the domain move is approved.
|
||||
|
||||
The sample posts remain structured site data for this pilot. Markdown content
|
||||
collections and any editor/CMS workflow are explicitly deferred.
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
# Blog production Worker runbook
|
||||
|
||||
## Scope and safety boundary
|
||||
|
||||
This runbook moves only `blog.3031023.xyz` from the independent preview Worker
|
||||
to the independent static production Worker `3031023-xyz-blog`. It does not
|
||||
change the primary site, the Pages rollback project, DNS records, redirects,
|
||||
forms, n8n, onboarding, CMS, or client-editing boundaries.
|
||||
|
||||
The routine workflows deploy static assets only:
|
||||
|
||||
- relevant `main` changes deploy `3031023-xyz-blog` in production mode;
|
||||
- relevant non-`main` changes deploy `3031023-xyz-blog-preview` in preview
|
||||
mode; and
|
||||
- neither workflow can create, remove, or alter custom domains, DNS, routes,
|
||||
or redirects.
|
||||
|
||||
## Pre-cutover verification
|
||||
|
||||
1. Record the production Worker version and verify its `workers.dev` URL.
|
||||
2. Confirm the journal home page and all published post pages return 200.
|
||||
3. Confirm a nonexistent post returns the static 404.
|
||||
4. Confirm production metadata is indexable, `robots.txt` allows crawling, and
|
||||
the sitemap lists the journal and published posts.
|
||||
5. Confirm the preview Worker remains untouched and its current deployment is
|
||||
available as the immediate blog rollback target.
|
||||
|
||||
## Domain move (requires separate approval)
|
||||
|
||||
1. Remove `blog.3031023.xyz` from `3031023-xyz-blog-preview`; do not delete
|
||||
that Worker or its deployment history.
|
||||
2. Attach `blog.3031023.xyz` to `3031023-xyz-blog` as its only custom domain.
|
||||
3. Re-run the public verification checks against the hostname.
|
||||
|
||||
## Rollback
|
||||
|
||||
1. Remove `blog.3031023.xyz` from `3031023-xyz-blog`.
|
||||
2. Reattach it to the unchanged `3031023-xyz-blog-preview` Worker.
|
||||
3. Verify the preview Worker’s known-good deployment at the hostname. The
|
||||
preview build will intentionally return to its no-index behavior.
|
||||
Reference in New Issue
Block a user