Skip to content

Commit b6cedaf

Browse files
Fix base href for custom domain lql.dev
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ceb4f06 commit b6cedaf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/deploy-lql-website.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,9 @@ jobs:
4545
- name: Publish Blazor WebAssembly project
4646
run: dotnet publish ./Lql/Website/LqlWebsite.csproj -c Release -o release --nologo
4747

48-
- name: Update base href for GitHub Pages
48+
- name: Update base href for custom domain
4949
run: |
50-
REPO_NAME=$(echo ${{ github.repository }} | cut -d'/' -f2)
51-
sed -i 's/<base href="\/" \/>/<base href="\/'$REPO_NAME'\/" \/>/g' release/wwwroot/index.html
50+
sed -i 's/<base href="\/" \/>/<base href="\/" \/>/g' release/wwwroot/index.html
5251
5352
- name: Add .nojekyll file
5453
run: touch release/wwwroot/.nojekyll

0 commit comments

Comments
 (0)