From 511980887c5172f55fcc1c57782a1010ada9367a Mon Sep 17 00:00:00 2001 From: cc Date: Wed, 15 Apr 2026 17:21:08 +0200 Subject: [PATCH] Auto-detect custom domain from GitHub Pages settings for data URL --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d85a332..509e3b8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,7 +38,7 @@ jobs: run: bun run build env: NEXT_PUBLIC_BASE_PATH: ${{ steps.configure-pages.outputs.base_path || '' }} - NEXT_PUBLIC_DATA_URL: https://codecolor.ist/entdb-data + NEXT_PUBLIC_DATA_URL: ${{ vars.DATA_PATH || '/entdb-data' }} - name: Upload artifact if: steps.configure-pages.outcome == 'success'