From 009b7981986ce9987b1769ab0505a3ef9b877caa Mon Sep 17 00:00:00 2001 From: kevin Date: Mon, 15 Jan 2024 23:32:19 -0500 Subject: [PATCH] Update hugo.yml --- .github/workflows/hugo.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index abad230..6d06a61 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -57,6 +57,13 @@ jobs: hugo \ --minify \ --baseURL "${{ steps.pages.outputs.base_url }}/" + - name: Compress image with Hugo + env: + # For maximum backward compatibility with Hugo modules + HUGO_ENVIRONMENT: production + HUGO_ENV: production + run: | + hugo --gc - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: