Skip to content

Commit

Permalink
chore: update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
ruofee committed May 13, 2024
1 parent 6283d3e commit 88c47d1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout # 1. 将仓库内master分支的内容下载到工作目录
uses: actions/checkout@v2
- name: use Node.js 12.16.2
uses: actions/setup-node@master
with:
node-version: 12.16.2
- name: update docs
run: |
npm install
yarn
cd docs
npm install
npm run build
yarn
yarn build
env:
CI: true
- name: deploy docs
Expand Down

0 comments on commit 88c47d1

Please sign in to comment.