mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-09 23:25:43 +00:00
👷♂️ Add DocFX CI
This commit is contained in:
parent
2c898e5e3d
commit
62c63c7c77
25
.github/workflows/docfx.yml
vendored
Normal file
25
.github/workflows/docfx.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user