From b2466529a1c7f5ada910546e99ddf47654ceb18d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com> Date: Thu, 1 Feb 2024 19:55:01 +0800 Subject: [PATCH] ci: github workflow --- .github/workflows/deploy-h5.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-h5.yml b/.github/workflows/deploy-h5.yml index cce8985..7491621 100644 --- a/.github/workflows/deploy-h5.yml +++ b/.github/workflows/deploy-h5.yml @@ -3,7 +3,7 @@ name: Deploy Pages on: # Runs on pushes targeting the default branch push: - branches: ['main'] + branches: ['gh-pages'] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -36,7 +36,7 @@ jobs: key: ${{ runner.os }}-unibest-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} # If source files changed but packages didn't, rebuild from a prior cache. restore-keys: | - ${{ runner.os }}-unibest-${{ hashFiles('**/package-lock.json') }}- + ${{ runner.os }}-unibest-${{ hashFiles('**/pnpm-lock.yaml') }}- - name: Install dependencies run: pnpm i - name: Build