1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-10-18 18:16:11 +00:00
X10D/.github/workflows/docfx.yml

29 lines
655 B
YAML

name: DocFX
on:
push:
branches: [ main ]
jobs:
docfx:
runs-on: ubuntu-latest
name: Publish Documentation
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Copy favicon
run: cp branding_Icon.png docfx_project/images/favicon.png
- name: Build documentation
uses: nikeee/docfx-action@v1.0.0
with:
args: docfx_project/docfx.json
- name: Publish documentation on GitHub Pages
uses: maxheld83/ghpages@master
env:
BUILD_DIR: docfx_project/_site
GH_PAT: ${{ secrets.GH_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}