Skip to content

Commit 24692e9

Browse files
authored
Merge pull request #672 from hkad98/documentation
ci: add hugo installation to actions
2 parents 1c725f9 + 8ab827f commit 24692e9

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/actions/hugo-build-action/action.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ runs:
1818
node-version: 20
1919
cache: 'npm'
2020
cache-dependency-path: docs/package-lock.json
21+
- name: "Install Hugo"
22+
shell: bash
23+
working-directory: ./docs
24+
run: |
25+
npm install -g [email protected]
2126
- name: "Install Dependencies"
2227
shell: bash
2328
working-directory: ./docs

.github/actions/hugo-build-versioned-action/action.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ runs:
4141
node-version: 20
4242
cache: 'npm'
4343
cache-dependency-path: docs/package-lock.json
44+
- name: "Install Hugo"
45+
shell: bash
46+
working-directory: ./docs
47+
run: |
48+
npm install -g [email protected]
4449
- name: "Install Dependencies"
4550
working-directory: ./docs
4651
shell: bash

0 commit comments

Comments
 (0)