We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f404b1 commit 4ddb3c8Copy full SHA for 4ddb3c8
.github/workflows/publish.yml
@@ -21,13 +21,21 @@ jobs:
21
steps:
22
- name: Checkout
23
uses: actions/checkout@v4
24
+
25
+ - name: Setup Hugo Version
26
+ id: hugo_version
27
+ run: |
28
+ echo "HUGO_VERSION=$(cat .tool-versions | grep hugo | cut -d' ' -f2 | cut -d'_' -f2)" >> "$GITHUB_ENV"
29
30
- name: Setup Hugo
31
uses: peaceiris/actions-hugo@v3
32
with:
- hugo-version: "0.139.4"
33
+ hugo-version: ${{ vars.HUGO_VERSION }}
34
extended: true
35
36
- name: Build
37
run: make -C community.hachyderm.io hugo
38
39
- name: Upload artifact
40
uses: actions/upload-pages-artifact@v3
41
.tool-versions
@@ -0,0 +1,2 @@
1
+hugo extended_0.139.4
2
+node 22
0 commit comments