diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 9cdcf7b..d274428 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -21,3 +21,12 @@ jobs: run: | npm i npm run build + + - name: 上传dist目录 + uses: actions/upload-pages-artifact@v1 + with: + path: './dist' + + - name: 部署github pages + id: deployment + uses: actions/deploy-pages@v1