1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-09 23:25:43 +00:00

👷‍♂️ Add DocFX CI

This commit is contained in:
Oliver Booth 2020-04-26 14:27:16 +01:00
parent 2c898e5e3d
commit 62c63c7c77
No known key found for this signature in database
GPG Key ID: 0D7F2EF1C8D2B9C0

25
.github/workflows/docfx.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: DocFX
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
- name: Install DocFX
run: |
curl -L https://github.com/dotnet/docfx/releases/latest/download/docfx.zip -o docfx.zip
unzip -d .docfx docfx.zip
- name: Build documentation
run: dotnet run .docfx/docfx.exe