Skip to content

Commit 42ea9d6

Browse files
committed
Move API doc generation to deploy step
1 parent b6bbd86 commit 42ea9d6

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Diff for: .github/workflows/tagged_release.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,6 @@ jobs:
4040
uses: GabrielBB/xvfb-action@v1
4141
with:
4242
run: npm --prefix e2e/electron-test cit
43-
- name: Run typedoc
44-
run: npm run typedoc
45-
- name: Publish typedocs to GitHub Pages
46-
uses: peaceiris/[email protected]
47-
with:
48-
deploy_key: ${{ secrets.API_DOC_DEPLOY_KEY }}
49-
external_repository: nut-tree/apidoc
50-
publish_dir: ./docs
5143

5244
deploy:
5345
needs:
@@ -62,6 +54,14 @@ jobs:
6254
node-version: 14
6355
- name: Install
6456
run: npm ci
57+
- name: Run typedoc
58+
run: npm run typedoc
59+
- name: Publish typedocs to GitHub Pages
60+
uses: peaceiris/[email protected]
61+
with:
62+
deploy_key: ${{ secrets.API_DOC_DEPLOY_KEY }}
63+
external_repository: nut-tree/apidoc
64+
publish_dir: ./docs
6565
- name: Publish tagged release
6666
uses: JS-DevTools/npm-publish@v1
6767
with:

0 commit comments

Comments
 (0)