From 8749f033a8e3f03eed4f7374ed355365ac10c4cd Mon Sep 17 00:00:00 2001 From: Thomas Eggerling Date: Mon, 18 Dec 2023 11:35:02 +0100 Subject: [PATCH] Add explicit steps for GitHub pages deployment --- .github/workflows/dotnet.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index db31b32..ba87793 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -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///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