Skip to content

Commit c485afd

Browse files
Fix Blazor website
1 parent 1fa462e commit c485afd

16 files changed

Lines changed: 489 additions & 802 deletions

File tree

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,18 @@ jobs:
4242
- name: Build
4343
run: dotnet build ./Lql/Website/LqlWebsite.csproj -c Release --no-restore
4444

45-
- name: Publish Blazor project
45+
- name: Publish Blazor WebAssembly project
4646
run: dotnet publish ./Lql/Website/LqlWebsite.csproj -c Release -o release --nologo
4747

4848
- name: Update base href for GitHub Pages
4949
run: |
5050
REPO_NAME=$(echo ${{ github.repository }} | cut -d'/' -f2)
51-
if [ -f release/wwwroot/index.html ]; then
52-
sed -i 's/<base href="\/" \/>/<base href="\/'$REPO_NAME'\/" \/>/g' release/wwwroot/index.html
53-
fi
51+
sed -i 's/<base href="\/" \/>/<base href="\/'$REPO_NAME'\/" \/>/g' release/wwwroot/index.html
5452
5553
- name: Add .nojekyll file
5654
run: touch release/wwwroot/.nojekyll
5755

56+
5857
- name: Setup Pages
5958
uses: actions/configure-pages@v4
6059

0 commit comments

Comments
 (0)