Skip to content

Refactor SmartBlock and SmartEntity classes for improved embedding lo… #497

Refactor SmartBlock and SmartEntity classes for improved embedding lo…

Refactor SmartBlock and SmartEntity classes for improved embedding lo… #497

Workflow file for this run

name: Generate JSDoc
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: write
jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Generate JSDoc
run: npx jsdoc -c jsdoc.json
- name: Copy files from assets to docs
run: cp -r assets/* docs/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs