From 630f6c105304e2566ee66159e01d647a7717f988 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 9 Jun 2026 13:42:28 +0000 Subject: [PATCH] fix: deploy configurator under /configurator/ path on Pages The workflow was uploading configurator/dist/ as the Pages root, so the app landed at /SLASHED/ instead of /SLASHED/configurator/. Stage the build into a _site/configurator/ subdirectory before uploading so the live URL matches the intended /configurator/ path. https://claude.ai/code/session_01LnGSUomuCzuzFSP9ST9PZo --- .github/workflows/deploy-configurator.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-configurator.yml b/.github/workflows/deploy-configurator.yml index b4e7195e..1a10fd83 100644 --- a/.github/workflows/deploy-configurator.yml +++ b/.github/workflows/deploy-configurator.yml @@ -48,10 +48,12 @@ jobs: - name: Build (prebuild re-syncs the token catalogue) working-directory: configurator run: npm run build + - name: Stage for Pages + run: mkdir -p _site/configurator && cp -r configurator/dist/. _site/configurator/ - name: Upload Pages artifact uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5 with: - path: configurator/dist + path: _site deploy: name: Deploy to Pages