diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 2de3802..59c7a5b 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -50,7 +50,7 @@ jobs: HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache HUGO_ENVIRONMENT: production run: | - hugo serve + hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/" - name: Upload artifact uses: actions/upload-pages-artifact@v3