mirror of
https://github.com/snowykami/server-status-server.git
synced 2025-06-04 14:15:22 +00:00
[build] 更新构建流程,使用 git subtree 拉取 server-status-web 子模块
This commit is contained in:
parent
f085048b0b
commit
717f630eb7
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user