mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-10 04:55:42 +00:00
23 lines
513 B
YAML
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 }}
|