Skip to content

Commit e92ead9

Browse files
committed
fix: hugo mini theme env
1 parent ff9f515 commit e92ead9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/hugo.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
runs-on: ubuntu-latest
3434
env:
3535
HUGO_VERSION: 0.137.1
36-
HUGO_ENVIRONMENT: production
3736
steps:
3837
- name: Install Hugo CLI
3938
run: |
@@ -54,6 +53,7 @@ jobs:
5453
- name: Build with Hugo
5554
env:
5655
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
56+
HUGO_ENVIRONMENT: production
5757
TZ: America/Los_Angeles
5858
run: |
5959
hugo \

config.toml

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ googleAnalytics = "G-TB5X9PJPXB"
3636
enableGoogleAnalytics = true
3737
enableComments = true
3838

39+
env = "production"
40+
3941
[markup]
4042
[markup.highlight]
4143
style = "github"

0 commit comments

Comments
 (0)