Quellcode durchsuchen

ci: github workflow

菲鸽 vor 2 Jahren
Ursprung
Commit
b2466529a1
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      .github/workflows/deploy-h5.yml

+ 2 - 2
.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