Fix CI: install Hugo before build step
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
c1c64b8345
commit
0b63a6698d
@@ -11,6 +11,11 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Hugo
|
||||||
|
uses: peaceiris/actions-hugo@v2
|
||||||
|
with:
|
||||||
|
hugo-version: 'latest'
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
@@ -32,7 +37,7 @@ jobs:
|
|||||||
run: npm run build:css
|
run: npm run build:css
|
||||||
|
|
||||||
- name: Build site with Hugo
|
- name: Build site with Hugo
|
||||||
run: npm run build
|
run: hugo --minify
|
||||||
|
|
||||||
- name: Verify Hugo output exists
|
- name: Verify Hugo output exists
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user