Skip to content

Adding GH Pages deploy worklow + better-docs #3

Adding GH Pages deploy worklow + better-docs

Adding GH Pages deploy worklow + better-docs #3

Workflow file for this run

name: GitHub pages
on:
push:
branches:
- gh-pages
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build
uses: andstor/jsdoc-action@v1
with:
source_dir: ./
output_dir: ./docs
config_file: jsdoc.json
template: node_modules/better-docs
front_page: README.md
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./docs