Skip to content

Commit bf85a12

Browse files
radoeringbranchv
andcommitted
ci: use npm managed hugo
Co-authored-by: Branch Vincent <branchevincent@gmail.com>
1 parent 18c84bd commit bf85a12

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/docs.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ jobs:
4848
with:
4949
node-version: "18"
5050

51-
- uses: peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d # v2.6.0
52-
with:
53-
hugo-version: "0.139.2"
54-
5551
- uses: ./poetry-github/.github/actions/bootstrap-poetry
5652

5753
- uses: ./poetry-github/.github/actions/poetry-install
@@ -65,7 +61,7 @@ jobs:
6561
# Build website assets (CSS/JS).
6662
npm ci && npm run prod
6763
# Build the static website.
68-
hugo --minify --logLevel info
64+
npx hugo --minify --logLevel info
6965
7066
- uses: amondnet/vercel-action@16e87c0a08142b0d0d33b76aeaf20823c381b9b9 # v25.2.0
7167
with:

0 commit comments

Comments
 (0)