From d5b88ea9827822dfa5f534554801bd1e0fc40a5f Mon Sep 17 00:00:00 2001 From: Zyronon Date: Mon, 30 Jun 2025 23:15:40 +0800 Subject: [PATCH] Update deploy-pages.yml --- .github/workflows/deploy-pages.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 80b84e26..75bfe6e5 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -29,15 +29,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: version: 8 - name: Set up Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 cache: 'pnpm' @@ -47,13 +47,23 @@ jobs: - name: Build run: pnpm run build + - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v4 + - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@vv with: # Upload dist repository path: './dist' + - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 \ No newline at end of file + uses: actions/deploy-pages@v4 + + + + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v1