From c943e448fff530e1906d4df6f39b2c7eadc6ab42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E9=B1=BC=E7=83=A7=E3=80=82?= <827265905@qq.com> Date: Mon, 10 Feb 2025 19:07:07 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat(feat):=20"=E8=B0=83=E6=95=B4=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E7=BB=93=E6=9E=84=EF=BC=8C=E4=BC=98=E5=8C=96=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/CD.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 564c958..6b0ccc3 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -71,13 +71,12 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: ${{ github.workspace }}/sample/dist - artifact_name: dist - continue-on-error: true + name: github-pages # 部署到 GitHub Pages - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 with: - artifact_name: dist \ No newline at end of file + artifact_name: github-pages + preview: true \ No newline at end of file From cbce815ec8adeca06a44d6c19b84629f38de386b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E9=B1=BC=E7=83=A7=E3=80=82?= <827265905@qq.com> Date: Mon, 10 Feb 2025 19:09:49 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat(feat):=20"=E8=B0=83=E6=95=B4=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E7=BB=93=E6=9E=84=EF=BC=8C=E4=BC=98=E5=8C=96=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/CD.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 6b0ccc3..564c958 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -71,12 +71,13 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - name: github-pages + path: ${{ github.workspace }}/sample/dist + artifact_name: dist + continue-on-error: true # 部署到 GitHub Pages - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 with: - artifact_name: github-pages - preview: true \ No newline at end of file + artifact_name: dist \ No newline at end of file