Skip to content

Commit f4ccd3d

Browse files
authored
Create docfx.yml
1 parent eef3383 commit f4ccd3d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/docfx.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#
2+
name: "docfx"
3+
4+
on:
5+
push:
6+
branches: [ "master" ]
7+
pull_request:
8+
branches: [ "master" ]
9+
schedule:
10+
- cron: '39 16 * * 5'
11+
12+
jobs:
13+
generate_and_publish_docs:
14+
runs-on: ubuntu-latest
15+
name: Generate and publish the docs
16+
steps:
17+
- uses: actions/checkout@v1
18+
name: Checkout code
19+
- uses: nunit/[email protected]
20+
name: Build Documentation
21+
with:
22+
args: doc/docfx.json
23+
- uses: maxheld83/ghpages@master
24+
name: Publish Documentation on GitHub Pages
25+
env:
26+
BUILD_DIR: _site # docfx's default output directory is _site
27+
GH_PAT: ${{ secrets.GH_PAT }} # See https://github.com/maxheld83/ghpages

0 commit comments

Comments
 (0)