mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-04-17 02:25:57 -05:00
31 lines
605 B
YAML
31 lines
605 B
YAML
name: DocFX
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-2019
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
# build docfx site to docfx/_site
|
|
- name: DocFX
|
|
shell: cmd
|
|
run: |
|
|
choco install docfx -y
|
|
docfx docfx\docfx.json
|
|
|
|
# push docfx/_site to gh-pages
|
|
- name: Publish Documentation on GitHub Pages
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: docfx/_site
|