Skip to content

Commit 95957f3

Browse files
committed
ci/docs: fix build ref
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`.
1 parent 7176d51 commit 95957f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Checkout
4949
uses: actions/checkout@v4
5050
with:
51-
ref: ${{ inputs.ref }}
51+
ref: ${{ matrix.ref }}
5252

5353
# Uses the build-docs action from the checked-out nixvim branch
5454
- name: Build docs

0 commit comments

Comments
 (0)