docs: vuepress构建文档

This commit is contained in:
远野千束 2024-03-28 10:39:53 +08:00
parent bff728b7f1
commit 57a302a71e

View File

@ -24,23 +24,15 @@ jobs:
version: 8
- name: 切换工作目录并设置Node.js
env:
NODE_OPTIONS: --max_old_space_size=8192
run: |
cd docs
pnpm install
- name: 构建文档
env:
NODE_OPTIONS: --max_old_space_size=8192
run: |-
cd docs
pnpm run docs:build
ls -al
cd .vuepress
ls -al
cd dist
ls -al
> .vuepress/dist/.nojekyll
- name: 部署文档
uses: JamesIves/github-pages-deploy-action@v4
with: