Skip to content

Commit 79faea7

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

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/PublishPages.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)