Skip to content

Commit b65d673

Browse files
committed
chore: Add Node.js setup and markdown generator dependencies to GitHub Actions workflow
1 parent c492191 commit b65d673

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,18 @@ jobs:
2626
hugo-version: '0.133.1'
2727
extended: true
2828

29+
- name: Setup Node.js
30+
uses: actions/setup-node@v6
31+
with:
32+
node-version: '22'
33+
34+
- name: Install markdown generator dependencies
35+
run: npm install asciidoctor @asciidoctor/reducer downdoc
36+
2937
- name: Build
3038
run: |
3139
hugo --minify
40+
node utils/generate-md.js
3241
3342
- name: Deploy
3443
uses: peaceiris/actions-gh-pages@v4

0 commit comments

Comments
 (0)