Infrastructure
The main site is published from one private repository: GitHub Actions runs Check and Ship, Wrangler uploads one reviewed Worker version, and promotion deploys that same version.
This page describes the release path for mayphus.org as it is implemented in the private mayphus/mayphus repository. It is not a public runbook. It does not include tokens, account IDs, or a fresh production measurement.
Problem
The site, its text exports, and its public APIs need to come from one source checkout. A pull request should be able to fail checks without changing production. A main push should publish one reviewed build, not a second build made later from different bytes. Serving the site should not depend on a home computer or a private tunnel.
Earlier content and renderer repositories have been consolidated. Input Foundry, Books, and Store still release on their own and should not be folded into this website build. An earlier public site generation lived on GitHub Pages before this Cloudflare Worker pipeline superseded it.
Design
Canonical Markdown records and the renderer live in the same private repository. Validated records and assets listed in publication-assets.json enter the build. Private working material does not.
One GitHub Actions workflow, .github/workflows/check.yml, runs on pull requests and on pushes to main. Its Check job runs npm run check:all, covering content, the renderer and the private-projection check. A separate Ship job runs only after Check succeeds for mayphus/mayphus on main; a push that is no longer the tip of main is skipped before install or upload.
When the commit is current, Ship records the checkout identity and reads the current production deployment. It can reuse a saved receipt only when that receipt matches the current production deployment, the source identity, and one version at 100% traffic. Otherwise it runs npm run release from the repository root. When résumé inputs change, the workflow builds and uploads the profile PDFs before deployment.
scripts/lib/release.mjs reviews, then promotes the same Worker version. scripts/deploy.mjs implements the two steps. wrangler.jsonc names the Worker mayphus, serves mayphus.org/*, and keeps public preview URLs disabled. Static assets come from the build directory, and the Worker runs first. Cloudflare account credentials stay in the GitHub production environment.
Input Foundry can release independently of this website. Verified keyboard publication bundles also remain available to the website build. Books is a separately deployed catalogue and reader. These tools share the site's public address space without making their release cycles part of this build.
Reading pages work without JavaScript. Interactive tools have their own requirements.
Publication
Review builds an immutable review version and promotes the same version to production. Release checks then verify the live service. The command outline is in the next section. Input Foundry and Books keep independent releases; this sequence describes the main website.
One checked version, from review to production
- Validate & buildPublic content and renderer
- Review versionImmutable output
- Check reviewVerify that version
- PromoteThe same version
- Verify livePublic service checks
Checks
After the Check job passes, review requires a clean checkout and builds the site before upload. Wrangler then uploads a Worker version (wrangler versions upload) tagged with commit- and the first 12 characters of the source commit. The review receipt stores the website commit, the content commit, the Worker version id, and a hash of the build output.
Promotion runs only when that receipt still matches the checkout and the build hash is unchanged. The checkout must be clean main, and that commit must still be the remote tip. Wrangler deploys the reviewed version at 100% (wrangler versions deploy) and deploys triggers (wrangler triggers deploy). It does not rebuild between review and promotion.
scripts/check/site-check-cloud-live.mjs then requests https://mayphus.org and compares the response with the reviewed build. The script requires /healthz to return ok. It compares homepage HTML, selected routes, versioned CSS and scripts, canonical text, PDF downloads, search, the document API, and llms.txt with the reviewed output. It also checks the published typing package on this host, expects /api/infra-status to report ok without hardware or network fields, and expects /api/chat to return a non-empty reply string. This page does not report the result of a new production run.
Result
The repository has one publisher for the main site. Check can pass without deploying. Ship promotes the reviewed Worker version instead of building again. The source commit is kept as build provenance. There is no separately maintained content pin and no cross-repository publication handoff.
A failure before promotion leaves production on the previous version. A failure during the post-promotion live check can occur after the new version is already serving traffic; the workflow does not automatically roll it back or record a verified success receipt in that case. The workflow does not, by itself, prove that the live site is healthy at the moment someone reads this page.
Status
This is the publication path in the private source repository. An earlier Status page described public inventory and coarse health counters. Its surviving display contained placeholder values, not live checks. That interface has been retired; the checks above are the ones the release script runs.
Earlier website sessions
These recordings describe earlier plans and deployments. The current publication architecture is described above.
2026-06-10 — Building mayphus.org Live #1
First Live explain and test.
2026-07-02 — Building mayphus.org Live #2
Today I'm reorganizing my infrastructure page. I realized that my website should explain my Kubernetes cluster, Podman containers, KVM virtual machines, and network visually instead of hiding everything behind text. This livestream is me refining both the website and the idea.