From 4ac6a7102c34a5ee131b15140a777af879b6eee4 Mon Sep 17 00:00:00 2001 From: Jeremy Andre Date: Fri, 11 Sep 2026 15:59:11 +0200 Subject: [PATCH] =?UTF-8?q?ci(deploy):=20daily=20fallback=20rebuild=20?= =?UTF-8?q?=E2=80=94=20the=20ts-side=20content=20dispatch=20was=20never=20?= =?UTF-8?q?built?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit getting-started's "Add a plugin" step (agentproto plugins install/list — a verb that doesn't exist in 0.20.0) was reported live on cli.agentproto.sh/docs/getting-started. Investigated: content/docs/ is entirely generated (gitignored; scripts/sync-content.mjs pulls agentproto/ts's docs/cli/ at build time via prebuild/predev) — there is no file under cli-site's own tracked source to edit for that page. The upstream source is already correct: docs/cli/getting-started.md on agentproto/ts's main was rewritten in #443 (2026-07-17) and no longer mentions plugins at all. Verified by running the actual sync against the live public repo (`pnpm typecheck`, which runs sync-content.mjs) and diffing the result — zero "plugin" matches in the synced getting-started.mdx, and every command on the page checks out against `agentproto --help` on a real 0.20.0 install, including running `agentproto install skill/agentproto-pack --list` live. So the live page is stale, not wrong-at-the-source: this repo's last deploy is 3fa6112 (2026-07-13), 4 days before the ts-side fix landed, and nothing has redeployed since. deploy.yml already declares a repository_dispatch trigger for exactly this case, sourced "from agentproto/ts when the docs/cli/ tree changes... configure via a follow-up workflow in the ts repo" — that follow-up workflow was never built (confirmed: no matching workflow under agentproto/ts's .github/workflows/), so the intended auto-redeploy path has never once fired. Adds a daily `schedule` trigger as a stopgap so staleness is bounded to <24h regardless of whether the real dispatch sender ever gets built. Not a fix for the root cause — that's a follow-up workflow that belongs in agentproto/ts, out of this repo's reach. --- .github/workflows/deploy.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 01b0a23..a2e93ad 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,6 +10,15 @@ on: # rebuild. Configure via a follow-up workflow in the ts repo. repository_dispatch: types: [content-changed] + # Stopgap for the above: the ts-side dispatch sender was never built + # (confirmed absent from agentproto/ts's .github/workflows), so a + # docs/cli/ change there currently triggers nothing here at all — this + # site's last deploy (2026-07-13) already predates a getting-started.md + # rewrite that landed 4 days later, and nothing since has closed that + # gap. A daily rebuild bounds the staleness to <24h even while the real + # dispatch sender is unbuilt; it's not a substitute for it. + schedule: + - cron: '0 13 * * *' concurrency: group: deploy-${{ github.ref }}