Skip to content

Add new GitHub Action for test examples #192

Add new GitHub Action for test examples

Add new GitHub Action for test examples #192

Workflow file for this run

name: GitHub pages
on:
push:
branches:
- main
workflow_dispatch:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
- run: npm install ink-docstrap
- name: JSDoc Action
uses: andstor/jsdoc-action@v1.2.1
with:
front_page: ./README.md
config_file: ./jsdoc/jsdoc.json
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs