浏览代码

Update build.yml

guanjinquan 1 年之前
父节点
当前提交
70eeeece1a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .github/workflows/build.yml

+ 2 - 2
.github/workflows/build.yml

@@ -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