mirror of
https://github.com/snowykami/server-status-server.git
synced 2025-06-06 15: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
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
@ -43,6 +42,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Pull and build front-end
|
- name: Pull and build front-end
|
||||||
run: |
|
run: |
|
||||||
|
git subtree pull --prefix=server-status-web https://github.com/snowykami/server-status-web.git main --squash
|
||||||
|
|
||||||
cd 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user