Skip to content

chore: update repo URLs after transfer to Width-Risk-Comliance-Databa… #24

chore: update repo URLs after transfer to Width-Risk-Comliance-Databa…

chore: update repo URLs after transfer to Width-Risk-Comliance-Databa… #24

Workflow file for this run

name: Deploy Docs to GitHub Pages
on:
workflow_dispatch:
push:
branches: [main]
paths:
- 'docs/**'
- 'packages/**'
- 'examples/**'
- '.github/workflows/docs.yml'
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build packages
run: pnpm build
- name: Build demo for docs
run: pnpm build:demo-for-docs
- name: Build docs
run: pnpm --filter docs build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/.vitepress/dist