Skip to content

Commit

Permalink
docs: update github actions to publish api docs (#80)
Browse files Browse the repository at this point in the history
* adding api docs project structure

* fix path for source projects

* updated github actions to publish api docs

* adding docfx configuration to github actions
  • Loading branch information
t1agob authored Feb 10, 2022
1 parent b20862d commit de16cd8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
- name: Configure api docs generator
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install docfx
- name: Build api docs
run: |
cd apidocs
docfx docfx.json
- name: Release API docs to latest
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit de16cd8

Please sign in to comment.