From a3e4452307e9851b1fbc8fb858b6cb7a6d30a29d Mon Sep 17 00:00:00 2001 From: John Jago Date: Tue, 14 May 2024 14:31:02 -0500 Subject: [PATCH] Maybe fix sitemap base URL problem MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I changed the command used to build the Hugo site to something I know works locally to hopefully fix the problem of the base URL being “/” on the live site, which Google Search Console does not like. --- .github/workflows/ci.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59bf265..68caba6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,14 +45,7 @@ jobs: && sudo dpkg -i ${{ runner.temp }}/hugo.deb - name: Build Hugo site - env: - # For maximum backward compatibility with Hugo modules - HUGO_ENVIRONMENT: production - HUGO_ENV: production - run: | - hugo \ - --minify \ - --baseURL "${{ steps.pages.outputs.base_url }}/" + run: hugo --minify - name: Set up GitHub Pages id: pages