Skip to content

Commit 87ff3b8

Browse files
committed
gha docs updated
Signed-off-by: junior <[email protected]>
1 parent 409aeca commit 87ff3b8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
jobs:
1111
build:
1212
runs-on: ubuntu-latest
13+
env:
14+
HUGO_VERSION: 0.122.0
1315
steps:
1416
- name: Checkout
1517
uses: actions/checkout@v4
@@ -19,7 +21,11 @@ jobs:
1921
node-version: ''
2022
- name: Setup Hugo
2123
run: |
22-
sudo apt install -y hugo
24+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
25+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
26+
- name: Setup Pages
27+
id: pages
28+
uses: actions/configure-pages@v5
2329
- name: Build Hugo Docs
2430
run: |
2531
cd src/docs
@@ -42,4 +48,3 @@ jobs:
4248
- name: Deploy to GitHub Pages
4349
id: deployment
4450
uses: actions/deploy-pages@v4
45-

0 commit comments

Comments
 (0)