From d6ffbf702228fa175c30ae5066819ea967fc7160 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Thu, 18 Jun 2026 10:50:34 +0800 Subject: [PATCH] fix(ci): add checkout to combine job so generate-sitemap.js is available MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #267's 'Regenerate sitemap' step failed with 'No such file or directory' because the combine job only downloads artifacts — it has no source checkout, so docs/generate-sitemap.js doesn't exist on disk. Adding actions/checkout so the script is available. --- .github/workflows/docs.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 6087aa7d..4aa1d9ca 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -242,6 +242,11 @@ jobs: needs: [build-main, build-batch] runs-on: ubuntu-latest steps: + # Checkout needed so the combine job can run docs/generate-sitemap.js + # (the script that scans the final dist/ and emits a complete sitemap). + - name: Checkout + uses: actions/checkout@v4 + - name: Download main site uses: actions/download-artifact@v4 with: