1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-23 00:38:47 +00:00
X10D/.github/workflows/docfx.yml

32 lines
693 B
YAML
Raw Normal View History

2020-04-26 13:27:16 +00:00
name: DocFX
on:
push:
branches: [ main ]
workflow_dispatch:
2020-04-26 13:27:16 +00:00
jobs:
docfx:
2020-04-26 13:27:16 +00:00
runs-on: ubuntu-latest
name: Publish Documentation
2020-04-26 13:27:16 +00:00
steps:
2024-11-13 17:58:26 +00:00
- name: Checkout
2024-11-13 17:58:52 +00:00
uses: actions/checkout@v4
2024-11-13 17:58:26 +00:00
- name: Copy favicon
run: |
mkdir docfx_project/images
cp branding_Icon.png docfx_project/images/favicon.png
2024-11-13 17:58:26 +00:00
- name: Build documentation
uses: nikeee/docfx-action@v1.0.0
with:
args: docfx_project/docfx.json
2024-11-13 17:58:26 +00:00
- 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 }}