Skip to content

Commit c8a8a29

Browse files
committed
workflows/hugo: pin hugo version to previous release
The latest (0.139.5) release does not include all release assets, which means that peaceiris/actions-hugo fails when attempting to use `latest`. Pin it to the previous release instead, as instructed by Hugo's release notes. See also: peaceris/actions-hugo#652 gohugoio/hugo#13147 Signed-off-by: Luca Zeuch <[email protected]>
1 parent 7f4a3b1 commit c8a8a29

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/hugo.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ jobs:
3030
- name: Install Hugo
3131
uses: peaceiris/actions-hugo@v3
3232
with:
33-
hugo-version: latest
33+
# FIXME: At the moment, the 0.139.5 release does not include all assets,
34+
# which fails this specific step. We use the previous version instead.
35+
hugo-version: '0.139.4'
3436
# We use the extended version just to be on the safe side.
3537
# It is recommended anyway.
3638
extended: true

0 commit comments

Comments
 (0)