mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-11 05:17: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
|
||||
|
||||
- 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:
|
||||
|
Loading…
Reference in New Issue
Block a user