Skip to content

Merge pull request #60 from jsakamoto/copilot/suggestion-improving-cr… #100

Merge pull request #60 from jsakamoto/copilot/suggestion-improving-cr…

Merge pull request #60 from jsakamoto/copilot/suggestion-improving-cr… #100

Workflow file for this run

name: github pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
# Checkout the code
- uses: actions/checkout@v5
# Remove global.json before installing .NET SDK
- name: Remove global.json
run: rm -f global.json
# Install .NET SDK
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: "9.0.x"
- name: Install .NET WebAssembly Tools
run: dotnet workload install wasm-tools
# Publish the site
- name: Publish
run: dotnet publish SampleApps/BlazorWasmApp1/BlazorWasmApp1.csproj -c Release -o public -p GHPages=true --nologo
# Deploy the site
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public/wwwroot
force_orphan: true