Skip to content

Update develop-build-doc.yml #3

Update develop-build-doc.yml

Update develop-build-doc.yml #3

name: create documentation and puplish to github pages
on:
push:
branches: [ "develop" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run install
uses: borales/actions-yarn@v4
with:
cmd: install # will run `yarn install` command
- name: Build
uses: andstor/jsdoc-action@v1
with:
config_file: ./jsdoc.conf.json
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs