Skip to content

Commit de16cd8

Browse files
authored
docs: update github actions to publish api docs (#80)
* adding api docs project structure * fix path for source projects * updated github actions to publish api docs * adding docfx configuration to github actions
1 parent b20862d commit de16cd8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/docs.yml

+8
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ jobs:
2828
with:
2929
github_token: ${{ secrets.GITHUB_TOKEN }}
3030
publish_dir: ./dist
31+
- name: Configure api docs generator
32+
run: |
33+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
34+
brew install docfx
35+
- name: Build api docs
36+
run: |
37+
cd apidocs
38+
docfx docfx.json
3139
- name: Release API docs to latest
3240
uses: peaceiris/actions-gh-pages@v3
3341
with:

0 commit comments

Comments
 (0)