From 5adda2132b593f32bebf548506ce328f399977fd Mon Sep 17 00:00:00 2001 From: Antoine BERNIER Date: Sat, 10 Aug 2024 01:43:53 +0200 Subject: [PATCH] DIST_DIR base on BASE_PATH --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df450fc3..a67b2769 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,7 @@ jobs: docker run --rm --init \ -v "$MDX":/app/docs \ -e BASE_PATH \ - -e DIST_DIR=docs/out \ + -e DIST_DIR="$MDX/out$BASE_PATH" \ -e MDX \ -e NEXT_PUBLIC_LIBNAME \ ghcr.io/pmndrs/docs:app-router yarn build @@ -43,4 +43,4 @@ jobs: - uses: actions/upload-pages-artifact@v3 with: - path: ${{ inputs.mdx }}/out + path: ${{ inputs.mdx }}/out${{ steps.configurepages.outputs.base_path }}