Skip to content

Commit 13c86c7

Browse files
committed
Update PublishPages.yml
1 parent 79faea7 commit 13c86c7

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/PublishPages.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,23 @@ on:
55
branches:
66
- main
77

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+
816
jobs:
917
deploy:
10-
runs-on: windows-latest
18+
runs-on: windows-latest # no need to install the .net sdk as it's available for this runner
1119
steps:
12-
# Checkout the code
1320
- uses: actions/checkout@v4
1421

1522
- name: Install .NET WebAssembly Tools
1623
run: dotnet workload install wasm-tools
1724

18-
# Publish the site
1925
- name: Publish
2026
run: dotnet publish src/GameboyColorReducer.Wasm/GameboyColorReducer.Wasm.csproj -c:Release -o:publish -p:GHPages=true
2127

0 commit comments

Comments
 (0)