Skip to content

Docs

Docs #27

Workflow file for this run

name: Docs
on:
release:
types: [created]
workflow_dispatch:
jobs:
build:
name: Build and Publish Docusaurus
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: yarn install --immutable
- name: Build website
working-directory: ./website
run: yarn build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/build