1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-14 04:35:41 +00:00
X10D/.github/workflows/docfx.yml

23 lines
513 B
YAML
Raw Normal View History

2020-04-26 14:27:16 +01:00
name: DocFX
on:
push:
branches: [ main ]
2020-04-26 14:27:16 +01:00
jobs:
docfx:
2020-04-26 14:27:16 +01:00
runs-on: ubuntu-latest
name: Publish Documentation
2020-04-26 14:27:16 +01:00
steps:
- uses: actions/checkout@v3
- uses: nikeee/docfx-action@v1.0.0
name: Build Documentation
2020-04-26 14:27:16 +01:00
with:
args: docfx_project/docfx.json
- uses: maxheld83/ghpages@master
name: Publish Documentation on GitHub Pages
env:
BUILD_DIR: docfx_project/_site
GH_PAT: ${{ secrets.GH_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}