Publish the built site to a pages branch for Ken's server #43

Merged
kathleen merged 1 commits from infra/pages-branch into main 2026-11-19 16:37:05 +00:00
Owner

Part of #27: Ken will host the page on his server.

  • New workflow .gitea/workflows/pages.yml:

    • on every push to main (data PRs included), it builds the site (npm run build → dist/);
    • it force-pushes the result as the only commit of the pages branch.

    Ken's web server serves that branch as plain files, kept in step with a git-sync sidecar or a git pull on a timer. The repository is public, so his server needs no token. Only the build output is on pages.

  • forge.yaml: a note to set site: to the address once it's live, so the page's links and the dataset metadata use it.

🤖 Generated with Claude Code

Part of #27: Ken will host the page on his server. - **New workflow `.gitea/workflows/pages.yml`:** - on every push to `main` (data PRs included), it builds the site (`npm run build` → `dist/`); - it force-pushes the result as the only commit of the `pages` branch. Ken's web server serves that branch as plain files, kept in step with a git-sync sidecar or a `git pull` on a timer. The repository is public, so his server needs no token. Only the build output is on `pages`. - **`forge.yaml`:** a note to set `site:` to the address once it's live, so the page's links and the dataset metadata use it. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
kathleen added 1 commit 2026-11-19 16:36:16 +00:00
Every push to main builds the static site (npm run build -> dist/) and force-pushes it as the only commit of
the `pages` branch. Ken's web server serves that branch (a git-sync sidecar or a pull on a timer): nothing
on his server needs a secret, since the repository is public, and the site updates within minutes of every
merge, data PRs included.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UCzTd31GphpMXDhQqWrCMQ
kathleen merged commit cd618d37d3 into main 2026-11-19 16:37:05 +00:00
kathleen deleted branch infra/pages-branch 2026-11-19 16:37:05 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DragonKind/threshing-atlas#43