doll.systems community website
website docs CI.md
2.1 kB · 41 lines
Markdown
at main

ci and previews #

canonical repository: https://tangled.org/doll.systems/website

Git repository DID: did:plc:m6gdh3rfwxozqfjsxpm5we2y. The original personal-account repository is retained as historical source; new contributions and publishing belong to the organization repository.

checks and previews #

check.yml runs lint, Astro/TypeScript checks, tests and a static build. preview.yml builds same-repository PRs targeting main and publishes the exact revision with pinned wispctl@2.0.3 --sha. Preview URLs are https://pr-<sha7>-doshi.preview.wisp.place/, with X-Robots-Tag: noindex. Verify a preview's page, assets and intended changes; a passing build alone is not a rendered preview. Wisp describes this feature as pre-release: https://docs.wisp.place/guides/preview-deploys/

production #

publish.yml runs on main pushes. It checks the trigger, repository DID and commit, runs locked install/lint/check/tests/build, then compares its commit with current main immediately before publishing. Stale runs skip publishing. The target is Wisp site doll-systems, which serves https://doll.systems/. The separate personal home site is never this workflow's target. Concurrent pushes can still race between the final ref check and the Wisp write.

credential boundary and recovery #

Spindle holds WISPCTL_APP_PASSWORD, a dedicated nonprivileged app password for doshi.doll.systems, currently hosted on sharkgirl.pet. It is passed by environment, never committed or placed in CLI arguments. The password is account-wide, not site-scoped: it also reaches the personal Wisp site. Same-repository PR code can see Spindle secrets, so review trusted changes before dispatch; do not expose this credential to arbitrary fork jobs.

To stop publishing, remove the workflow/Spindle secret. For credential exposure, revoke that dedicated password and replace it. Recover a bad release by redeploying a known-good reviewed main, using the saved release evidence rather than an arbitrary historical checkout. Preview expiration and automatic comments are separate features, not implemented by these workflows.