Skip to content

Commit 0ce108f

Browse files
authored
Fixed the article about 4.2.0. (#20)
1 parent a7a4566 commit 0ce108f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/gh-pages.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- main
77
pull_request:
88

9+
env:
10+
HUGO_VERSION: "0.147.8"
11+
912
jobs:
1013
build:
1114
runs-on: ubuntu-24.04
@@ -21,8 +24,8 @@ jobs:
2124

2225
- name: Setup Hugo
2326
run: |
24-
sudo apt-get update
25-
sudo apt-get install hugo
27+
wget https://github.com/gohugoio/hugo/releases/download/v${{ env.HUGO_VERSION }}/hugo_${{ env.HUGO_VERSION }}_linux-amd64.deb
28+
sudo dpkg -i hugo_${{ env.HUGO_VERSION }}_linux-amd64.deb
2629
2730
- name: Build
2831
run: hugo --minify

0 commit comments

Comments
 (0)