Skip to content

Commit

Permalink
Add workflow to build docs without publishing them (dotnet#6691)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReubenBond authored Sep 2, 2020
1 parent 2b78970 commit 85e4504
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build and publish site
on:
workflow_dispatch:
push:
branches:
- docs

jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
- name: Setup .NET
uses: actions/setup-dotnet@v1
- name: Build
run: dotnet build src

0 comments on commit 85e4504

Please sign in to comment.