From 5974a46ca882df8ac4af935d60bcfb01622402ae Mon Sep 17 00:00:00 2001 From: Sabine Maennel <5292683+sabinem@users.noreply.github.com> Date: Thu, 22 Oct 2026 17:45:36 +0200 Subject: [PATCH] fix(ci): fetch Git LFS files before publishing the docs The docs' images are stored in Git LFS, and actions/checkout does not fetch LFS content by default, so the docs job published the three-line pointer files instead of the PNGs and every image on the site was broken. Check out with `lfs: true`. --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03992466..5da78001 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -240,10 +240,13 @@ jobs: cancel-in-progress: false steps: - # `fetch-depth: 0` so the version in the docs can see the tags. + # `fetch-depth: 0` so the version in the docs can see the tags. `lfs: true` + # because the docs' images are stored in Git LFS: without it the checkout + # holds three-line pointer files, and those are what got published. - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 + lfs: true - uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27 with: