Runbook: Release and deploy docs
Runbook: Release and deploy docs
Real runbook — cut a docs release for an application release and ship it. See
templates/runbook.mdfor the upstream template shape.
Summary
| Purpose | Publish documentation for a new application release (vX.Y.Z) |
| Severity | Routine (SEV-4) |
| Service(s) | rymflux-docs (Cloudflare Pages) |
| Owner | Docs owner / Tech Lead |
When to run
Every time the application repo (rymflux) cuts a release.
Steps
- Update the changelog. Add a
type: changelogentry underdocs/user/changelog/for the release version — title, date,changelogversion/category, and a plain-language summary of what changed, migrated, and was deprecated. Merge tomain. - Build and validate locally.
Fix any broken links or type errors before deploying.pnpm check && pnpm validate && pnpm build - Deploy. Pushing to
maintriggers the GitHub Actions workflow (.github/workflows/deploy.yml), which builds and runswrangler pages deploy dist --project-name=rymflux-docs. Confirm the run is green. - Tag the release. The tag is the reproducible doc snapshot for this app
version:
git tag v0.2.0 && git push origin v0.2.0 - Verify production.
Spot-checkcurl -s -o /dev/null -w "%{http_code}\n" https://rymflux-docs.pages.dev//changelogand any routes touched by the release. Note: bare routes return308and follow to their trailing-slash form — that is normal. - Write release notes. Create a GitHub Release on
rymflux-docs(or rely on the changelog entry) with a human summary, and link the matching application release.
Rollback
Re-promote the previous Cloudflare Pages deployment in the dashboard
(Workers & Pages → rymflux-docs → Deployments → ⋯ → Rollback to this
deployment). Do not revert git for rollback; fix forward on main.
Escalation
| If | Contact |
|---|---|
| Pages project or secrets missing | Cloudflare account owner (API token + account ID secrets on the repo) |
| Workflow failing | Check Actions logs; run pnpm doctor locally |
Last tested
| Date | Environment | Tester | Result |
|---|---|---|---|
| 2026-08-01 | Production (v0.1.0) | Docs owner | Pass |