Skip to content

Fix generate docs workflow trigger #1

Fix generate docs workflow trigger

Fix generate docs workflow trigger #1

Workflow file for this run

name: Generate Docs
on:
push:
branches:
- master
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
architecture: 'x64'
- name: Install dependencies
run: npm install
- name: Generate documentation
run: npm run docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs