|
@@ -30,8 +30,8 @@ jobs:
|
|
|
|
|
|
|
|
|
# 如果缓存没有命中,安装依赖,根据实际来改,也可以是npm,这里是用的yarn
|
|
|
- - name: Install dependencies
|
|
|
- run: npm install
|
|
|
+ - name: Install dependencies And Build
|
|
|
+ run: npm install && npm run docs:build
|
|
|
|
|
|
- name: Deploy
|
|
|
uses: JamesIves/github-pages-deploy-action@releases/v3
|