Skip to content

Update BlazorWasmPreRendering.Build package to version 7.0.0 #144

Update BlazorWasmPreRendering.Build package to version 7.0.0

Update BlazorWasmPreRendering.Build package to version 7.0.0 #144

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
# Install .NET SDK
- name: Setup .NET SDK
uses: actions/setup-dotnet@v5
with:
dotnet-version: "10.0.x"
- name: Install .NET WebAssembly Tools
run: dotnet workload install wasm-tools
# Publish the site
- name: Publish
run: dotnet publish CUIFlavoredPortfolioSite/CUIFlavoredPortfolioSite.csproj -c:Release -o:public -p:GHPages=true
# Deploy the site
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public/wwwroot
force_orphan: true