Skip to content

Commit 3f7d6af

Browse files
committed
gha to test docs updated
Signed-off-by: junior <[email protected]>
1 parent 276e461 commit 3f7d6af

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/test-docs.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,19 @@ on:
77
jobs:
88
test-build:
99
runs-on: ubuntu-latest
10+
env:
11+
HUGO_VERSION: 0.122.0
1012
steps:
1113
- name: Checkout
12-
uses: actions/checkout@v1
14+
uses: actions/checkout@v4
1315
- name: Setup Node
14-
uses: actions/setup-node@v1
16+
uses: actions/setup-node@v4
1517
with:
16-
node-version: '10.x'
18+
node-version: ''
1719
- name: Setup Hugo
18-
uses: peaceiris/actions-hugo@v2
19-
with:
20-
hugo-version: '0.66.0'
21-
extended: true
20+
run: |
21+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
22+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
2223
- name: Build Hugo Docs
2324
run: |
2425
cd src/docs

0 commit comments

Comments
 (0)