From 0032972a2f170bb70e2dde1698bee01010a9d169 Mon Sep 17 00:00:00 2001 From: Romain Vasseur <57908971+RVR06@users.noreply.github.com> Date: Thu, 13 Jun 2024 15:12:37 +0200 Subject: [PATCH] Amend pipeline --- .github/workflows/gh-pages.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yaml index 1beb708..54d54a8 100644 --- a/.github/workflows/gh-pages.yaml +++ b/.github/workflows/gh-pages.yaml @@ -25,7 +25,7 @@ jobs: build: permissions: contents: read - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest defaults: run: working-directory: ${{ env.documentation_root }} @@ -53,10 +53,13 @@ jobs: extended: true - name: Build - run: hugo --minify + run: | + hugo \ + --minify \ + --baseURL "${{ steps.pages.outputs.base_url }}/" - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-pages-artifact@v3 with: path: ${{ env.documentation_root }}/public