[build] 更新构建流程,使用 git subtree 拉取 server-status-web 子模块

This commit is contained in:
远野千束 2025-01-03 21:20:26 +08:00
parent f085048b0b
commit 717f630eb7

View File

@ -27,7 +27,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Setup Go
@ -43,6 +42,8 @@ jobs:
- name: Pull and build front-end
run: |
git subtree pull --prefix=server-status-web https://github.com/snowykami/server-status-web.git main --squash
cd server-status-web
npm install -g pnpm
pnpm install --no-frozen-lockfile