Skip to content

Commit

Permalink
fix: hugo mini theme env
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdavipanah committed Nov 27, 2024
1 parent ff9f515 commit e92ead9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.137.1
HUGO_ENVIRONMENT: production
steps:
- name: Install Hugo CLI
run: |
Expand All @@ -54,6 +53,7 @@ jobs:
- name: Build with Hugo
env:
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
HUGO_ENVIRONMENT: production
TZ: America/Los_Angeles
run: |
hugo \
Expand Down
2 changes: 2 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ googleAnalytics = "G-TB5X9PJPXB"
enableGoogleAnalytics = true
enableComments = true

env = "production"

[markup]
[markup.highlight]
style = "github"
Expand Down

0 comments on commit e92ead9

Please sign in to comment.