From 717f630eb71aa18aa299eab8710f93998d671c28 Mon Sep 17 00:00:00 2001 From: Snowykami Date: Fri, 3 Jan 2025 21:20:26 +0800 Subject: [PATCH] =?UTF-8?q?[build]=20=E6=9B=B4=E6=96=B0=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=EF=BC=8C=E4=BD=BF=E7=94=A8=20git=20subtree?= =?UTF-8?q?=20=E6=8B=89=E5=8F=96=20server-status-web=20=E5=AD=90=E6=A8=A1?= =?UTF-8?q?=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7128872..c3b41aa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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