Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 8a04021

Browse files
Update to use make commands for generating docs
1 parent 97f8a6b commit 8a04021

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/github-pages.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
branches:
1111
- main
1212
workflow_dispatch: # Allow manual triggering of the action
13-
13+
1414

1515
jobs:
1616
deploy:
@@ -42,14 +42,11 @@ jobs:
4242
restore-keys: |
4343
${{ runner.os }}-node-
4444
45-
- name: Clean Docs Directory
46-
run: rm -rf docs
45+
- name: Clean Docs
46+
run: make clean docs
4747

4848
- name: Generate Docs
49-
run: >
50-
cd site
51-
npm ci
52-
hugo --minify
49+
run: make docs
5350

5451
- name: Deploy To Pages
5552
uses: peaceiris/actions-gh-pages@v3 # see https://github.com/peaceiris/actions-gh-pages for details

0 commit comments

Comments
 (0)