Skip to content

Commit c2c909e

Browse files
committed
Added GHPagesBase
For some reason the <base href=""> wasn't being set in index.html like it should. Meaning resources were trying to be loaded from the root domain and not the path.
1 parent be848ca commit c2c909e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/PublishPages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: dotnet workload install wasm-tools
2424

2525
- name: Publish
26-
run: dotnet publish src/GameboyColorReducer.Wasm/GameboyColorReducer.Wasm.csproj -c:Release -o:publish -p:GHPages=true
26+
run: dotnet publish src/GameboyColorReducer.Wasm/GameboyColorReducer.Wasm.csproj -c:Release -o:publish -p:GHPages=true -p:GHPagesBase=GameboyColorReducer # though this should be set automatically, unsure why it isn't
2727

2828
- name: Upload GitHub Pages artifact
2929
uses: actions/upload-pages-artifact@v3.0.1

0 commit comments

Comments
 (0)