mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-12-01 09:44:44 +08:00
docs: vuepress构建文档
This commit is contained in:
parent
bff728b7f1
commit
57a302a71e
14
.github/workflows/deploy-docs.yml
vendored
14
.github/workflows/deploy-docs.yml
vendored
@ -24,22 +24,14 @@ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user