From aae0bd17045a4ac492d94a94575afdc7373f660c Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Sun, 15 Jun 2025 23:34:16 +0100 Subject: [PATCH] ci/docs: fix build ref MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix typo `inputs.ref` → `matrix.ref`. This caused an empty string to be assigned to the checkout action's `ref` input, meaning it used its default value `github.ref`. Therefore all "versions" of the docs were actually building `main` 😂 Instead, we actually want to checkout the ref from the job's `matrix`. (cherry picked from commit 95957f306bf6d8e40f62fd0062cf326436bf011d) --- .github/workflows/website.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 674aac8d..4dd37e11 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -48,7 +48,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - ref: ${{ inputs.ref }} + ref: ${{ matrix.ref }} # Uses the build-docs action from the checked-out nixvim branch - name: Build docs