Skip to content

Commit

Permalink
adds jso docs script github
Browse files Browse the repository at this point in the history
  • Loading branch information
zemuldo committed Sep 15, 2023
1 parent 4d68b8b commit d34d6b3
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,22 @@ on:
push:
branches:
- main
- docs

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Build
uses: andstor/jsdoc-action@v1
with:
output_dir: ./docs
config_file: js_docs.conf.json
template: minami
front_page: README.md
- name: Install dependencies
run : npm install

- name: Generate docs
run : npm run docs

- name: Deploy
- name: Publish docs
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
Expand Down

0 comments on commit d34d6b3

Please sign in to comment.