mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
Buikd abd publish docs workflow
This commit is contained in:
parent
afff8d9e46
commit
6048094c4a
1 changed files with 21 additions and 0 deletions
21
.github/build-docs.yml
vendored
Normal file
21
.github/build-docs.yml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: Build Docs
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
- name: Run docfx
|
||||
uses: nikeee/docfx-action@v1.0.0
|
||||
with:
|
||||
args: Docs/docfx.json
|
||||
- name: Publish to GitHub Pages
|
||||
uses: maxheld83/ghpages@master
|
||||
env:
|
||||
BUILD_DIR: _site
|
||||
GH_PAT: ${{ secrets.GH_PAGES }}
|
||||
Loading…
Reference in a new issue