2020-04-26 13:27:16 +00:00
|
|
|
name: DocFX
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2022-04-30 16:01:01 +00:00
|
|
|
branches: [ main ]
|
2020-04-26 13:27:16 +00:00
|
|
|
|
|
|
|
jobs:
|
2022-05-12 13:26:10 +00:00
|
|
|
docfx:
|
2020-04-26 13:27:16 +00:00
|
|
|
runs-on: ubuntu-latest
|
2022-05-12 13:26:10 +00:00
|
|
|
name: Publish Documentation
|
2020-04-26 13:27:16 +00:00
|
|
|
steps:
|
2022-05-12 13:26:10 +00:00
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- uses: nikeee/docfx-action@v1.0.0
|
|
|
|
name: Build Documentation
|
2020-04-26 13:27:16 +00:00
|
|
|
with:
|
2022-05-12 13:26:10 +00:00
|
|
|
args: docfx_project/docfx.json
|
|
|
|
- uses: maxheld83/ghpages@master
|
|
|
|
name: Publish Documentation on GitHub Pages
|
2022-05-12 13:45:39 +00:00
|
|
|
with:
|
|
|
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
2022-05-12 13:26:10 +00:00
|
|
|
env:
|
2022-05-12 13:30:51 +00:00
|
|
|
BUILD_DIR: docfx_project/_site
|
2022-05-12 13:26:10 +00:00
|
|
|
GH_PAT: ${{ secrets.GH_PAT }}
|