File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,22 +12,18 @@ jobs:
1212 # Checkout the code
1313 - uses : actions/checkout@v4
1414
15- # Install .NET SDK
16- - name : Setup .NET SDK
17- uses : actions/setup-dotnet@v4
18- with :
19- dotnet-version : 8.0.x
2015 - name : Install .NET WebAssembly Tools
2116 run : dotnet workload install wasm-tools
2217
2318 # Publish the site
2419 - name : Publish
2520 run : dotnet publish src/GameboyColorReducer.Wasm/GameboyColorReducer.Wasm.csproj -c:Release -o:publish -p:GHPages=true
2621
27- # Deploy the site
28- - name : Deploy
29- uses : peaceiris/actions-gh-pages@v4
22+ - name : Upload GitHub Pages artifact
23+ uses : actions/upload-pages-artifact@v3.0.1
3024 with :
31- github_token : ${{ secrets.GITHUB_TOKEN }}
32- publish_dir : publish/wwwroot
33- force_orphan : true
25+ path : publish/wwwroot/
26+
27+ - name : Deploy to GitHub Pages
28+ uses : actions/deploy-pages@v4
29+ id : deployment
You can’t perform that action at this time.
0 commit comments