mirror of
https://github.com/snowykami/server-status-server.git
synced 2025-06-06 15:15:22 +00:00
[build] 更新构建流程,直接克隆 server-status-web 仓库并构建前端
This commit is contained in:
parent
5c1993ee67
commit
8c33b82ff8
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -42,11 +42,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Pull and build front-end
|
- name: Pull and build front-end
|
||||||
run: |
|
run: |
|
||||||
cd web
|
git clone https://github.com/snowykami/server-status-web
|
||||||
|
cd server-status-web
|
||||||
npm install -g pnpm
|
npm install -g pnpm
|
||||||
pnpm install --no-frozen-lockfile
|
pnpm install --no-frozen-lockfile
|
||||||
pnpm run build
|
pnpm run build
|
||||||
ls -al
|
|
||||||
mkdir -p ../server-status-server/api/frontend/web
|
mkdir -p ../server-status-server/api/frontend/web
|
||||||
cp -r dist ../server-status-server/api/frontend/web
|
cp -r dist ../server-status-server/api/frontend/web
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user