Skip to content

Merge pull request #14 from jpbnetley/updates #23

Merge pull request #14 from jpbnetley/updates

Merge pull request #14 from jpbnetley/updates #23

Workflow file for this run

name: Generate docs
on:
workflow_dispatch:
push:
branches: [main]
concurrency:
group: ${{ github.ref }}-docs
env:
node_version: 20
jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- name: Use Node.js ${{ env.node_version }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.node_version }}
cache: 'pnpm'
- name: install
run: pnpm i
- name: Build docs
run: pnpm run build:docs
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: function-docs