From e92ead95a6879f2102e460b46158bc76be6cd9c1 Mon Sep 17 00:00:00 2001 From: mahdavipanah Date: Wed, 27 Nov 2024 14:57:16 +0300 Subject: [PATCH] fix: hugo mini theme env --- .github/workflows/hugo.yml | 2 +- config.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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"