Skip to content

Update jsdoc.json and jsDoc workflow for better config #9

Update jsdoc.json and jsDoc workflow for better config

Update jsdoc.json and jsDoc workflow for better config #9

Workflow file for this run

name: JSDoc Action
on:
release:
branches: [ "master" ]
pull_request:
types: [ closed ]
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build
uses: andstor/jsdoc-action@v1
with:
source_dir: ./lib
recurse: true
output_dir: ./out
config_file: jsdoc.json
front_page: readme.md
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1