diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 3bcaf38..2db88d2 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -17,7 +17,7 @@ jobs: with: node-version: 18.10.0 - - name: Checkout + - name: 拉取代码 uses: actions/checkout@v3 - name: 安装依赖并编译 @@ -26,6 +26,9 @@ jobs: ls -lsh npm i npm run build + + - name: 设置github pages + uses: actions/configure-pages@v3 - name: 上传dist目录 uses: actions/upload-pages-artifact@v1