Skip to content

Commit

Permalink
build: Add documentation build step to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bab2min authored Jun 30, 2024
1 parent b2709dc commit 212305f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -344,3 +344,14 @@ jobs:
with:
token: ${{ secrets.NPM_TOKEN }}
package: bindings/wasm/package
- name: Build documenation
run: |
cd bindings/wasm/package
npm run doc
- name: Publish documenation
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: bindings/wasm/package/doc
destination_dir: ./kiwi-nlp

0 comments on commit 212305f

Please sign in to comment.