Skip to content

feat(jzero): 更新文档 #15

feat(jzero): 更新文档

feat(jzero): 更新文档 #15

Workflow file for this run

name: deploy-docs
on:
push:
branches:
- main
paths:
- 'docs/**'
permissions:
contents: write
jobs:
deploy-gh-pages:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
cache-dependency-path: docs/pnpm-lock.yaml
- name: Build Docs
env:
NODE_OPTIONS: --max_old_space_size=8192
run: |-
cd docs
npm i
npm run docs:build
> src/.vuepress/dist/.nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs/src/.vuepress/dist