2 Commits
Author SHA1 Message Date
lotherk 17156e1d97 fix(pages): remove got worktree refs after publishing
Every got checkout creates refs/got/worktree/base-<uuid> in the bare repo. Delete it in the publisher trap so repeated pushes do not accumulate refs and block object cleanup, and assert the ref count stays stable in the hook test.

Assisted-by: OpenCode:DeepSeek-V4.1-Flash
2026-11-22 12:32:06 +00:00
lotherk 802572bae9 feat(pages): build and publish bb sites on push
Add a Gotea Pages prototype: a pages branch is checked out with got, built with the vendored bb, swapped atomically into a pages root, and served only on a separate host from an allowlist. A post-receive hook installer wires the flow through Gitea delegate hooks. The CGI pages mode isolates the host and contains paths with realpath.

Assisted-by: OpenCode:DeepSeek-V4.1-Flash
2026-11-22 12:28:02 +00:00