Skip to content

Commit

Permalink
构建流水线
Browse files Browse the repository at this point in the history
  • Loading branch information
chenbihao committed Jan 26, 2024
1 parent 44cbfbf commit 1f81431
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,23 @@ jobs:
# 如果你文档需要 Git 子模块,取消注释下一行
# submodules: true

- name: 进入目录
run: cd ./docs

- name: 设置 Node.js
uses: actions/setup-node@v3
with:
path: './docs'
node-version: 20
cache: npm

- name: 安装依赖
run: npm ci
run: |-
cd ./docs
npm ci
- name: 构建文档
env:
NODE_OPTIONS: --max_old_space_size=8192
run: |-
cd ./docs
npm run docs:build
> ./src/.vuepress/dist/.nojekyll
Expand Down

0 comments on commit 1f81431

Please sign in to comment.