[build] 更新构建流程,确保目标目录存在后再复制构建产物

This commit is contained in:
远野千束 2025-01-03 21:04:59 +08:00
parent be5e619413
commit 5174ca9a4d

View File

@ -45,7 +45,9 @@ jobs:
cd server-status-web cd server-status-web
pnpm install --no-frozen-lockfile pnpm install --no-frozen-lockfile
pnpm run build pnpm run build
cp -r dist api/frontend/web
mkdir -p ../server-status-server/api/frontend/web
cp -r dist ../server-status-server/api/frontend/web
- name: Compile - name: Compile
env: env: