diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index e0e3078..5b5017c 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -33,7 +33,6 @@ jobs: runs-on: ubuntu-latest env: HUGO_VERSION: 0.137.1 - HUGO_ENVIRONMENT: production steps: - name: Install Hugo CLI run: | @@ -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 \ diff --git a/config.toml b/config.toml index 40f675c..b2f7777 100644 --- a/config.toml +++ b/config.toml @@ -36,6 +36,8 @@ googleAnalytics = "G-TB5X9PJPXB" enableGoogleAnalytics = true enableComments = true + env = "production" + [markup] [markup.highlight] style = "github"