mirror of
https://github.com/Jerryplusy/AI-powered-switches.git
synced 2025-07-04 05:09:19 +00:00
调换部署顺序
This commit is contained in:
parent
e3ed40c4b6
commit
e5fac7f50b
13
.github/workflows/deploy.yml
vendored
13
.github/workflows/deploy.yml
vendored
@ -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]"
|
||||
|
Loading…
x
Reference in New Issue
Block a user