Skip to content

v1.22.11 (#958)

v1.22.11 (#958) #1016

Workflow file for this run

name: Build docs
on:
push:
branches:
- "main"
jobs:
docs:
name: Build docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: yarn
- name: Install & build
run: cd docs && yarn install --pure-lockfile && yarn build
- name: Deploy
if: "contains('refs/heads/main', github.ref)"
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build