1
0
forked from bot/app

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