Skip to content

Update build-docs.yml #1127

Update build-docs.yml

Update build-docs.yml #1127

Workflow file for this run

name: Build Hook Docs
on:
push:
branches:
- master
jobs:
hookdocs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 16
uses: actions/setup-node@v4
with:
node-version: '16.x'
- name: npm install, and build docs
run: |
npm install
npm run build:docs
- name: Deploy to GH Pages
uses: peaceiris/actions-gh-pages@v4
with:
publish_dir: './docs'
github_token: ${{ secrets.GITHUB_TOKEN }}