Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:

# Publishes Blazor project to the release-folder
- name: Publish .NET Core Project
run: dotnet publish samples/Thinktecture.Blazor.Sample/Thinktecture.Blazor.Sample.csproj -c:Release -p:GHPages=true -o dist/Web --nologo
run: dotnet publish samples/PatrickJahr.Blazor.Sample/PatrickJahr.Blazor.Sample.csproj -c:Release -p:GHPages=true -o dist/Web --nologo

# changes the base-tag in index.html from '/' to 'Thinktecture.Blazor' to match GitHub Pages repository subdirectory
# changes the base-tag in index.html from '/' to 'PatrickJahr.Blazor' to match GitHub Pages repository subdirectory
- name: Rewrite base href
uses: SteveSandersonMS/ghaction-rewrite-base-href@v1
with:
html_path: dist/Web/wwwroot/index.html
base_href: /Thinktecture.Blazor/
base_href: /PatrickJahr.Blazor/

# copy index.html to 404.html to serve the same file when a file is not found
- name: copy index.html to 404.html
Expand Down