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
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: 'latest'
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
@@ -32,7 +37,7 @@ jobs:
|
||||
run: npm run build:css
|
||||
|
||||
- name: Build site with Hugo
|
||||
run: npm run build
|
||||
run: hugo --minify
|
||||
|
||||
- name: Verify Hugo output exists
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user