Skip to content

Update README.md

Update README.md #38

Workflow file for this run

name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
include-prerelease: true
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Publish .NET Core Project
run: dotnet publish WebApp/WebApp.csproj -c Release -o release
- name: Pushes to another repository
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: 'release/wwwroot'
destination-github-username: 'BlazorOcticons'
destination-repository-name: 'BlazorOcticons.github.io'
target-branch: main