Skip to content

Merge pull request #4 from erinnmclaughlin/user-attributes #13

Merge pull request #4 from erinnmclaughlin/user-attributes

Merge pull request #4 from erinnmclaughlin/user-attributes #13

Workflow file for this run

name: gh-pages
on:
push:
branches: [ "main" ]
workflow_dispatch:
permissions:
contents: write
jobs:
build:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup .NET Core 🔧
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.x
- name: Install .NET WASM Build Tools
run: dotnet workload install wasm-tools
- name: Publish
run: dotnet publish ./samples/BlazorWasm/BlazorWasm.csproj -c:Release -p:GHPages=true -o dist --nologo
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist/wwwroot
single-commit: true