forked from bot/app
docs: vuepress构建文档
This commit is contained in:
parent
58b756eb67
commit
41b2b13442
4
.github/workflows/deploy-docs.yml
vendored
4
.github/workflows/deploy-docs.yml
vendored
@ -26,11 +26,15 @@ jobs:
|
|||||||
- name: 切换工作目录
|
- name: 切换工作目录
|
||||||
run: cd docs
|
run: cd docs
|
||||||
|
|
||||||
|
- name: 显示当前目录内容
|
||||||
|
run: ls -al
|
||||||
|
|
||||||
- name: 设置 Node.js
|
- name: 设置 Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
cache: pnpm
|
cache: pnpm
|
||||||
|
lockfile: pnpm-lock.yaml # 指定正确的路径
|
||||||
|
|
||||||
- name: 构建文档
|
- name: 构建文档
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user