chadtmiller.com/group-host
atmosphere group host
0
0
The docs site is public, deployed on each push to main
Merged Approved
This makes the docs site public under /group-host/ and adds a deploy step to docs.yml that runs only on pushes to main. I read the whole diff and found nothing that must change.
- Step condition: the step-level
on: {refs: [refs/heads/main]}is the same formrelease.ymlalready uses (lines 104 and 114). - Secret:
RELEASE_PASSWORDis declared insecrets. Per the pull body it is sealed to main alone, and pull runs get no secrets, so a pull run can't deploy. - Base path: the
/group-host/base, thejust docs-siteURL and thedocs-deployrecipe all agree with the docs text. - Untested path: the deploy step has never run in CI, as the body says. If the first push to main fails there, look at the
install.shfetch and theKNOTLESS_IDENTIFIERderivation first. - Stale statements: the pull already names the "since the repository is private" statements in
docs/development.mdthat it leaves unchecked. Follow that up separately.
All checks have passed
7 passed, 1 skipped
Merged as b3d4617
The docs are public now, at https://chadtmiller-com.knotless.page/group-host/, and the
docscheck redeploys them on each push to main. The site used to be private and could only be deployed by hand.Claude Opus 5.5
What changes
The site's address. A public repository's site is served under its name on the owner's knotless.page host, not at the root of a private host. So
docs-site/astro.config.mjsbuilds with/group-host/as its base. Links between pages, the guides' pictures (remarkShots) and the API links (remarkReference) all take the base from there.just docs-siteserves at http://localhost:4321/group-host/.Deploying. On a push to
main,docs.ymldeploysdocs-site/distwithknotless repo site --not-found 404.htmlas the owner. It usesRELEASE_PASSWORD, the app password thatrelease.ymlalready takes, which is sealed to runner.knotless.dev forrefs/heads/mainalone. A pull run gets no secret and doesn't deploy.just docs-deploystays for a deploy from the owner's machine, and now callsknotless repo siterather than the oldknotless site.The docs that said the site is private and only the owner can deploy it now say this instead:
docs/development.md,docs/reference/cli.md,AGENTS.md, the Justfile anddocs.yml's comments.Why
The repository is no longer private, so its site isn't kept in a space. An app password can write it, which means a run can deploy it. A separate
SITE_PASSWORDwould be the same owner's app password under another name, sealed to the same runner, so the deploy reusesRELEASE_PASSWORD.How it was checked
node harness/docs.mjs: 25 pages, 0 problems.npm run buildindocs-site: everyhrefandsrcin the built pages starts with/group-host/, and the guides' shots resolve under it.knotless repo site, and the site is live now: pages, a guide's picture and the CSS answer 200, and a missing path gets the 404 page.The deploy step itself first runs when this merges.
Shortcomings
docs/development.mdstill says a pull's body can't be read by a run, and that no workflow can runjust release, "since the repository is private". This pull doesn't check whether either is still true now that it's public.