mirror of
https://github.com/ChiChou/entdb.git
synced 2026-06-10 23:07:47 +02:00
Auto-detect custom domain from GitHub Pages settings for data URL
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user