[build] 更新构建流程,直接克隆 server-status-web 仓库并构建前端

This commit is contained in:
远野千束 2025-01-03 21:25:02 +08:00
parent 5c1993ee67
commit 8c33b82ff8

View File

@ -42,11 +42,11 @@ jobs:
- name: Pull and build front-end
run: |
cd web
git clone https://github.com/snowykami/server-status-web
cd server-status-web
npm install -g pnpm
pnpm install --no-frozen-lockfile
pnpm run build
ls -al
mkdir -p ../server-status-server/api/frontend/web
cp -r dist ../server-status-server/api/frontend/web