Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Workflow file for this run

name: Documentation Deploy
on:
push:
branches:
- docs
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- name: Build
run: pnpm build
- name: Deploy
uses: crazy-max/ghaction-github-pages@v2
with:
build_dir: docs/.vuepress/dist
target_branch: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}