From e5fac7f50b84e7650b62c2e81da486d26f360935 Mon Sep 17 00:00:00 2001 From: Jerry Date: Thu, 5 Jun 2025 21:20:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=8D=A2=E9=83=A8=E7=BD=B2=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ca5447b..86f4df1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,11 +17,6 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Setup pnpm - uses: pnpm/action-setup@v4 - with: - version: 9 - - name: Setup Node.js uses: actions/setup-node@v4 with: @@ -29,15 +24,17 @@ jobs: registry-url: https://registry.npmjs.org cache: pnpm + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + - name: Install dependencies run: pnpm install --frozen-lockfile - name: Build project run: pnpm run build - - name: Copy 404.html for React Router support - run: cp build/index.html build/404.html - - name: Configure Git identity run: | git config --global user.name "github-actions[bot]"