From 02f7cd8f57a9efaeb88a77f648f1a83ab374b3ec Mon Sep 17 00:00:00 2001 From: Oilbeater Date: Mon, 6 May 2024 12:41:45 +0800 Subject: [PATCH] fix the deprecation warning (#668) --- .github/workflows/gh-pages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 3d23abe6cda..1c1db5eada6 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -100,10 +100,10 @@ jobs: run: PATH_PREFIX=/${{ github.event.repository.name }} pnpm build - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: # Upload dist repository path: './dist' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v3 + uses: actions/deploy-pages@v4