Skip to content

Update README.md

Update README.md #410

Workflow file for this run

name: Pure.DI check
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
- name: Build and check
run: dotnet run --project ./build -- check
deploy-examples:
if: ${{ github.event_name != 'pull_request' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
- name: Publish Blazor example
if: ${{ github.ref == 'refs/heads/master' }}
run: dotnet run --project ./build -- publish
- name: Commit wwwroot to GitHub Pages
if: ${{ github.ref == 'refs/heads/master' }}
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: samples/BlazorWebAssemblyApp/bin/wwwroot