Source for chubes.net: the theme and the site's own plugins in one repository. Same model as the Extra Chill monorepo, sized for a personal site.
Directory names are WordPress slugs: plugins/<slug> deploys to wp-content/plugins/<slug>. Renaming a directory deactivates the plugin, so names change only together with a migration.
| Component | Path | What it is |
|---|---|---|
chubes |
themes/chubes |
The site theme (Journal, homepage, templates) |
chubes-contact |
plugins/chubes-contact |
Contact form block + REST endpoint |
poem-block |
plugins/poem-block |
Paginated poem block |
visualizer-block |
plugins/visualizer-block |
Interactive audio-reactive particle canvas (/visualizer) |
Each component has its own homeboy.json, version, docs/CHANGELOG.md and <component-id>-vX.Y.Z tags.
Not here: plugins with their own release cycle (Data Machine, Intelligence, DocSync, Lean SEO, wp-coding-agents) and third-party plugins.
| Path | What it is |
|---|---|
deploy/homeboy/ |
Homeboy config root: the chubes-net deploy project and server |
deploy/tests/ |
Deploy config contract test |
deploy/host/ |
Host-side units: Sweatpants upgrade timer, staging tmpfiles rule |
deploy/wp-coding-agents/ |
Agent toolchain self-upgrade: poller script and host opt-ins |
homeboy.yml runs each changed component's own lint and tests (homeboy-action components: changed) with differential gating, so only new findings fail. The Site infrastructure job checks the deploy config.
On every merge, release.yml releases each component that has commits since its own tag: version bump, changelog from conventional commit subjects (feat:, fix:, ...) and a GitHub Release. Don't edit changelogs by hand.
Merging to main deploys it. deploy.yml runs after Release, builds main, and deploys every component whose build differs from what is installed (homeboy deploy chubes-net --ref <sha> --outdated). Rolling back means deploying an older commit (Actions → Deploy → sha).
- Unattended runs touch the server only when the repository variable
DEPLOY_AUTOMATIONisenabled.gh variable set DEPLOY_AUTOMATION --body pausedturns them back into plan-only runs. - Manual runs default to a dry run.
- The server is reached as a dedicated
deployuser with write access limited to these components' directories. Secrets:CHUBES_DEPLOY_SSH_KEY,CHUBES_DEPLOY_KNOWN_HOSTS.
cd plugins/<slug>
npm ci
npm run buildEverything not in this repo updates from deploy-releases.yml, which polls every 30 minutes. Same model as the Extra Chill monorepo's deploy.yml:
- Release plugins: DocSync and Data Machine, registered in
deploy/homeboy/components/and thechubes-net-releasesproject. Homeboy deploys each one's latest GitHub Release zip when it is newer than what's installed. Intelligence is updated by hand:Automattic/intelligenceis private, and this workflow's token can't read it. - wp-coding-agents:
deploy/wp-coding-agents/upgrade.shstarts the host's own bounded self-upgrade when a newer release exists. That upgrades Homeboy (to the version wp-coding-agents pins), Roadie and Pi, then restarts Roadie. Interrupted Roadie sessions resume on their own. Thedeployuser's sudo grant for this comes fromdeploy/wp-coding-agents/host.conf. See its README. - Sweatpants: has no releases, so
sweatpants-upgrade.timeron the host fast-forwards it toorigin/mainnightly. If the service doesn't come back, it rolls back to the previous commit.
Both follow DEPLOY_AUTOMATION, and manual runs default to dry run. Install or update the host units with sudo deploy/host/install.sh.