We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 944c158 commit cd89c65Copy full SHA for cd89c65
1 file changed
.github/workflows/pages.yml
@@ -26,19 +26,9 @@ jobs:
26
with:
27
cache: true
28
29
- - name: Resolve docs version
30
- id: docs-version
31
- run: |
32
- git fetch origin gh-pages --depth=1 || true
33
- v=$(git ls-tree -d origin/gh-pages doc/ 2>/dev/null \
34
- | awk '{print $NF}' | sed 's|^doc/||' \
35
- | grep -E '^v?[0-9]' | sort -V | tail -1)
36
- echo "version=${v:-}" >> "$GITHUB_OUTPUT"
37
-
38
- name: Build docs
39
env:
40
HUGO_BASEURL: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/
41
- HUGO_PARAMS_DOCSVERSION: ${{ steps.docs-version.outputs.version }}
42
run: mise run build-docs
43
44
- name: Push rendered site to gh-pages
0 commit comments