1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-14 04:55:42 +00:00
X10D/.github/workflows/docfx.yml
Oliver Booth d4b23e8a8c
build(ci): update checkout and setup-dotnet actions
- actions/checkout@v3
- actions/setup-dotnet@v3
2023-03-28 15:02:09 +01:00

23 lines
513 B
YAML

name: DocFX
on:
push:
branches: [ main ]
jobs:
docfx:
runs-on: ubuntu-latest
name: Publish Documentation
steps:
- uses: actions/checkout@v3
- uses: nikeee/docfx-action@v1.0.0
name: Build Documentation
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 }}