docs: generate docs #979
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Website - Build and Test | |
on: | |
pull_request: | |
paths: | |
- 'docs/**' | |
- 'website/**' | |
push: | |
branches: | |
- main | |
paths: | |
- 'docs/**' | |
- 'website/**' | |
# Run on demand | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Build Website | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Build website | |
run: | | |
pnpm build | |
pnpm --filter website run build:site | |
# Ensure the repository is clean after build & test | |
- run: git --no-pager diff --compact-summary --exit-code |