mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-03-21 18:05:03 -05:00
github actions for docfx
This commit is contained in:
parent
1c44a545c2
commit
a4770a95aa
30
.github/workflows/docfx.yml
vendored
Normal file
30
.github/workflows/docfx.yml
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
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
|
||||
Loading…
Reference in New Issue
Block a user