From 9717ea46751541dd8861c6cb814835f27bdc4696 Mon Sep 17 00:00:00 2001 From: Tuan Phung Date: Sun, 11 Oct 2026 13:07:26 +0200 Subject: [PATCH] CI: full Git history for website builds so the sitemap has lastmod dates --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0fb6aea..9ac30c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,6 +92,9 @@ jobs: cancel-in-progress: false steps: - uses: actions/checkout@v7 + with: + # Full history: the sitemap's lastmod dates come from Git (website/src/lib/git.ts). + fetch-depth: 0 - uses: actions/setup-node@v7 with: node-version: 24 @@ -122,6 +125,9 @@ jobs: cancel-in-progress: true steps: - uses: actions/checkout@v7 + with: + # Full history: the sitemap's lastmod dates come from Git (website/src/lib/git.ts). + fetch-depth: 0 - uses: actions/setup-node@v7 with: node-version: 24