Skip to content

Commit

Permalink
Move API doc generation to deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
s1hofmann committed Jul 14, 2021
1 parent b6bbd86 commit 42ea9d6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/tagged_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ jobs:
uses: GabrielBB/xvfb-action@v1
with:
run: npm --prefix e2e/electron-test cit
- name: Run typedoc
run: npm run typedoc
- name: Publish typedocs to GitHub Pages
uses: peaceiris/[email protected]
with:
deploy_key: ${{ secrets.API_DOC_DEPLOY_KEY }}
external_repository: nut-tree/apidoc
publish_dir: ./docs

deploy:
needs:
Expand All @@ -62,6 +54,14 @@ jobs:
node-version: 14
- name: Install
run: npm ci
- name: Run typedoc
run: npm run typedoc
- name: Publish typedocs to GitHub Pages
uses: peaceiris/[email protected]
with:
deploy_key: ${{ secrets.API_DOC_DEPLOY_KEY }}
external_repository: nut-tree/apidoc
publish_dir: ./docs
- name: Publish tagged release
uses: JS-DevTools/npm-publish@v1
with:
Expand Down

0 comments on commit 42ea9d6

Please sign in to comment.