We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79faea7 commit 13c86c7Copy full SHA for 13c86c7
1 file changed
.github/workflows/PublishPages.yml
@@ -5,17 +5,23 @@ on:
5
branches:
6
- main
7
8
+ workflow_dispatch:
9
+
10
+# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
11
+permissions:
12
+ contents: read
13
+ pages: write
14
+ id-token: write
15
16
jobs:
17
deploy:
- runs-on: windows-latest
18
+ runs-on: windows-latest # no need to install the .net sdk as it's available for this runner
19
steps:
- # Checkout the code
20
- uses: actions/checkout@v4
21
22
- name: Install .NET WebAssembly Tools
23
run: dotnet workload install wasm-tools
24
- # Publish the site
25
- name: Publish
26
run: dotnet publish src/GameboyColorReducer.Wasm/GameboyColorReducer.Wasm.csproj -c:Release -o:publish -p:GHPages=true
27
0 commit comments