Merge pull request #2442 from jmooring/update-hugo-workflow
pages: Update Hugo workflow
This commit is contained in:
+2
-3
@@ -31,7 +31,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
HUGO_VERSION: 0.124.1
|
HUGO_VERSION: 0.128.0
|
||||||
steps:
|
steps:
|
||||||
- name: Install Hugo CLI
|
- name: Install Hugo CLI
|
||||||
run: |
|
run: |
|
||||||
@@ -50,9 +50,8 @@ jobs:
|
|||||||
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
|
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
|
||||||
- name: Build with Hugo
|
- name: Build with Hugo
|
||||||
env:
|
env:
|
||||||
# For maximum backward compatibility with Hugo modules
|
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
|
||||||
HUGO_ENVIRONMENT: production
|
HUGO_ENVIRONMENT: production
|
||||||
HUGO_ENV: production
|
|
||||||
run: |
|
run: |
|
||||||
hugo \
|
hugo \
|
||||||
--minify \
|
--minify \
|
||||||
|
|||||||
Reference in New Issue
Block a user