diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 484e08f..484ad2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,10 +10,14 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Build and Deploy + - name: Install and Build 🔧 # 安装依赖、打包,如果提前已打包好无需这一步 + run: | + npm install + npm run build + + - name: Deploy uses: JamesIves/github-pages-deploy-action@v4.3.3 env: ACCESS_TOKEN: ${{ secrets.VUE3_TOKEN }} BRANCH: gh-pages - FOLDER: build - BUILD_SCRIPT: npm install && npm run build \ No newline at end of file + FOLDER: build \ No newline at end of file