Skip to content

Commit cd89c65

Browse files
committed
fixup! Add GitHub Pages deployment workflow
1 parent 944c158 commit cd89c65

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

.github/workflows/pages.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,9 @@ jobs:
2626
with:
2727
cache: true
2828

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-
3829
- name: Build docs
3930
env:
4031
HUGO_BASEURL: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/
41-
HUGO_PARAMS_DOCSVERSION: ${{ steps.docs-version.outputs.version }}
4232
run: mise run build-docs
4333

4434
- name: Push rendered site to gh-pages

0 commit comments

Comments
 (0)