Skip to content

Commit

Permalink
Merge PR #573 from 'Falci/build-docs'
Browse files Browse the repository at this point in the history
  • Loading branch information
pinheadmz committed Mar 11, 2021
2 parents 9c7bc0a + 9ea6e13 commit 88c6cc9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Docs
on:
release:
types: [published]
jobs:
docs:
name: Build docs
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12.x
- run: |
npm install -g jsdoc
jsdoc -c jsdoc.json
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/reference

0 comments on commit 88c6cc9

Please sign in to comment.