File tree Expand file tree Collapse file tree
src/FlexRender.Playground/wwwroot Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,10 +45,17 @@ jobs:
4545 - name : Publish Playground
4646 run : dotnet publish src/FlexRender.Playground -c Release -o publish
4747
48+ - name : Rewrite base href for GitHub Pages
49+ run : sed -i 's|<base href="/" />|<base href="/FlexRender/" />|' publish/wwwroot/index.html
50+
51+ - name : Add .nojekyll
52+ run : touch publish/wwwroot/.nojekyll
53+
4854 - name : Upload Pages artifact
4955 uses : actions/upload-pages-artifact@v3
5056 with :
5157 path : publish/wwwroot
58+ overwrite : true
5259
5360 - name : Deploy to GitHub Pages
5461 id : deployment
Original file line number Diff line number Diff line change 33< head >
44 < meta charset ="UTF-8 ">
55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < base href ="/ " />
67 < title > FlexRender Playground</ title >
78 < link rel ="stylesheet " href ="style.css ">
89 < link rel ="preload " id ="webassembly " />
You can’t perform that action at this time.
0 commit comments