From d1e3fe8c2c76135764c0c6e7db60c7d8312b1a79 Mon Sep 17 00:00:00 2001 From: yutent Date: Sun, 19 Feb 2023 14:59:24 +0800 Subject: [PATCH] Update main.yaml --- .github/workflows/main.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) 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