mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-14 13:47:24 +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,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:
|
||||||
|
Loading…
Reference in New Issue
Block a user