-
Notifications
You must be signed in to change notification settings - Fork 11
43 lines (40 loc) · 1.05 KB
/
docfx.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: docfx
on:
push:
branches:
- master
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.BUILD_Token }}
path: Cortex.Net
- uses: actions/checkout@v2
with:
repository: jspuij/Cortex.Net.Docs
ref: master
token: ${{ secrets.BUILD_Token }}
path: Cortex.Net.Docs
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.407
- name: Chocolatey Action
uses: crazy-max/[email protected]
with:
args: install docfx -y
- name: Run documentation generation
run: build/docfx.cmd
working-directory: ./Cortex.Net
env:
token: ${{ secrets.BUILD_Token }}
GH_EMAIL: ${{ secrets.GH_EMAIL }}
GH_USER: ${{ secrets.GH_USER }}
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.BUILD_Token }}
directory: Cortex.Net.Docs
repository: jspuij/Cortex.Net.Docs