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]"