Skip to content

Fixed Card demo code URL. Corrected the initial title. #39

Fixed Card demo code URL. Corrected the initial title.

Fixed Card demo code URL. Corrected the initial title. #39

name: Build WASM Page
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
deploy-to-github-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Setup .NET SDK
uses: actions/[email protected]
with:
dotnet-version: 8.x
- name: Install .NET WASM Build Tools
run: dotnet workload install wasm-tools
- name: Publish .NET project
run: dotnet publish BlazorMaterialWeb.Demo/BlazorMaterialWeb.Demo.csproj -c:Release -p:GHPages=true -o dist/Web --nologo
- name: Make 404 page for SPA
run: cp dist/Web/wwwroot/index.html dist/Web/wwwroot/404.html
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
folder: dist/Web/wwwroot