Skip to content

v6.0.3

v6.0.3 #15

Workflow file for this run

# This workflow will install the dependencies and then build and deploy the
# TypeScript documentation website to the docs branch.
name: Publish Documentation
on:
push:
tags:
- '*'
jobs:
publish-docs:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install NPM dependencies
run: npm i
- name: Generate docs
run: npm run doc
- name: Publish generated docs to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs
publish_branch: docs