|
@@ -3,7 +3,7 @@ name: Deploy Pages
|
|
|
on:
|
|
on:
|
|
|
# Runs on pushes targeting the default branch
|
|
# Runs on pushes targeting the default branch
|
|
|
push:
|
|
push:
|
|
|
- branches: ['main']
|
|
|
|
|
|
|
+ branches: ['gh-pages']
|
|
|
|
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
|
workflow_dispatch:
|
|
workflow_dispatch:
|
|
@@ -36,7 +36,7 @@ jobs:
|
|
|
key: ${{ runner.os }}-unibest-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
|
|
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.
|
|
# If source files changed but packages didn't, rebuild from a prior cache.
|
|
|
restore-keys: |
|
|
restore-keys: |
|
|
|
- ${{ runner.os }}-unibest-${{ hashFiles('**/package-lock.json') }}-
|
|
|
|
|
|
|
+ ${{ runner.os }}-unibest-${{ hashFiles('**/pnpm-lock.yaml') }}-
|
|
|
- name: Install dependencies
|
|
- name: Install dependencies
|
|
|
run: pnpm i
|
|
run: pnpm i
|
|
|
- name: Build
|
|
- name: Build
|