Skip to content

chore: update jamesives/github-pages-deploy-action action to v4.6.0 (… #531

chore: update jamesives/github-pages-deploy-action action to v4.6.0 (…

chore: update jamesives/github-pages-deploy-action action to v4.6.0 (… #531

Workflow file for this run

name: TypeDoc
on:
- push
jobs:
typedoc:
name: TypeDoc
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- name: Get node version
id: node-version
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
- name: Use node ${{ matrix.node }}
uses: actions/setup-node@v4.0.2
with:
node-version: ${{ steps.node-version.outputs.NODE_VERSION }}
- run: node --version
- run: npm ci
- run: npm run build-docs
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.6.0
with:
branch: gh-pages
folder: docs
clean: true
dry-run: ${{ github.ref != 'refs/heads/main' }}