Skip to content

Commit b7db9b3

Browse files
committed
(#244) Added apidoc deploy step for tagged releases
1 parent dbbbc09 commit b7db9b3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/tagged_release.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ jobs:
3636
- name: Run Docker E2E tests
3737
if: ${{matrix.os == 'ubuntu-latest'}}
3838
run: docker exec nut-ci bash -c "bash $PWD/.build/build.sh ${PWD} ${{matrix.node}}"
39+
- name: Run typedoc
40+
run: npm run typedoc
41+
- name: Publish typedocs to GitHub Pages
42+
uses: peaceiris/[email protected]
43+
with:
44+
deploy_key: ${{ secrets.API_DOC_DEPLOY_KEY }}
45+
external_repository: nut-tree/apidoc
46+
publish_dir: ./docs
3947

4048
deploy:
4149
needs:

0 commit comments

Comments
 (0)