From f369fbd227a7a65efa5376f37c73e835891b70cf Mon Sep 17 00:00:00 2001 From: Orkuncakilkaya Date: Sat, 5 Sep 2026 22:51:59 +0300 Subject: [PATCH] ci(docs): redeploy the site when install.sh changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit docs-gen publishes install.sh with the site, but the workflow only ran for docs/**, tools/docgen/** and tools/ludic-cli/**. v0.5.2 changed install.sh, CHANGELOG.md and VERSION — so nothing matched, no deploy ran, and the fix that release existed for was never served to anyone running the one-liner. Co-Authored-By: Claude Opus 5 --- .forgejo/workflows/docs.yml | 4 ++++ changes/docs-deploy-installer.md | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 changes/docs-deploy-installer.md diff --git a/.forgejo/workflows/docs.yml b/.forgejo/workflows/docs.yml index 3e9acf18..79913cd8 100644 --- a/.forgejo/workflows/docs.yml +++ b/.forgejo/workflows/docs.yml @@ -11,6 +11,10 @@ on: - 'docs/**' - 'tools/docgen/**' - 'tools/ludic-cli/**' + # the site publishes the installer, so a change to it has to redeploy the + # site — otherwise a fixed install.sh sits in main while the old one is + # still what `curl … | sh` fetches + - 'install.sh' - '.forgejo/workflows/docs.yml' workflow_dispatch: {} diff --git a/changes/docs-deploy-installer.md b/changes/docs-deploy-installer.md new file mode 100644 index 00000000..be0a0142 --- /dev/null +++ b/changes/docs-deploy-installer.md @@ -0,0 +1,6 @@ +bump: patch +type: ci +The docs deploy triggers on a change to `install.sh`. The site publishes the +installer, but the workflow's path filter did not mention it — so a release that +only fixed `install.sh` left the old script live at the URL the landing page +tells people to pipe into `sh`.