Skip to content

Commit

Permalink
Add explicit steps for GitHub pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Phoenox committed Dec 18, 2023
1 parent aa0ce7f commit 8749f03
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ jobs:
run: dotnet workload install wasm-tools

- name: Publish to release folder
run: dotnet publish SideQuest/SideQuest.csproj -c:Release -p:GHPages=true -o release --nologo
run: dotnet publish SideQuest/SideQuest.csproj -c:Release -o release --nologo

- name: Change base tag in index.html from / to sidequest
run: sed -i 's/<base href="\/" \/>/<base href="\/sidequest\/" \/>/g' release/wwwroot/index.html

- name: Add .nojekyll file
run: touch release/wwwroot/.nojekyll

- name: Fix service-worker-assets.js hashes
working-directory: release/wwwroot
Expand Down

0 comments on commit 8749f03

Please sign in to comment.