Skip to content

Commit

Permalink
Fix git ref on main
Browse files Browse the repository at this point in the history
  • Loading branch information
kberzinch committed Jun 19, 2024
1 parent 6081a62 commit 421e2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Build Sphinx docs
run: poetry run sphinx-build -M dirhtml . _build
env:
GIT_REF: ${{ github.head_ref }}
GIT_REF: ${{ github.head_ref || 'main' }}

- name: Run Vale
uses: docker://jdkato/vale
Expand Down

0 comments on commit 421e2a4

Please sign in to comment.