From a48e6d2fa8113debdef1d74911682b1bb2bd919b Mon Sep 17 00:00:00 2001 From: Calle Svensson Date: Fri, 1 Dec 2023 22:26:54 +0100 Subject: [PATCH] Use base URL --- .github/workflows/build-commits.yaml | 2 ++ .github/workflows/publish.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build-commits.yaml b/.github/workflows/build-commits.yaml index 996af80..4eb2f3d 100644 --- a/.github/workflows/build-commits.yaml +++ b/.github/workflows/build-commits.yaml @@ -21,6 +21,8 @@ jobs: run: npm run lint - name: Build site + env: + BASE_URL: ${{ steps.pages.outputs.base_url }} run: npm run build - name: Run tests diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 7442186..5e171b7 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -37,6 +37,8 @@ jobs: run: npm run lint - name: Build site + env: + BASE_URL: ${{ steps.pages.outputs.base_url }} run: npm run build - name: Upload artifact