Skip to content

Commit

Permalink
chore: pages build
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Mar 1, 2024
1 parent 17f0851 commit 9635f8e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ jobs:
with:
fetch-depth: 0

- name: 设置 Node.js
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
node-version: 20.x
registry-url: https://registry.npmjs.org

- name: 安装依赖
run: npm i
- name: Install
run: npm install

- name: 构建文档
- name: Build
run: |
npm run docs:build
- name: 部署文档
- name: deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
Expand Down

0 comments on commit 9635f8e

Please sign in to comment.