소스 검색

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