From d34c0c7cb5e69b4f362e45bcb456b68efa6f4e5a Mon Sep 17 00:00:00 2001 From: aiyimickey <39365912+aiyimickey@users.noreply.github.com> Date: Fri, 3 Jul 2026 13:24:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20deploy-ai.sh=20musl=20=E6=B8=85=E7=90=86?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E6=B7=BB=E5=8A=A0=20monitor=20=E7=AB=99?= =?UTF-8?q?=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy-ai.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-ai.sh b/deploy-ai.sh index 6675168..0b8e71f 100755 --- a/deploy-ai.sh +++ b/deploy-ai.sh @@ -482,7 +482,7 @@ build_on_server() { fi # 清理 standalone 中的 musl 原生模块(Alpine builder 残留,Debian runner 不兼容) - if [[ "$SITE" == "issue" || "$SITE" == "assets" || "$SITE" == "oa" ]]; then + if [[ "$SITE" == "issue" || "$SITE" == "assets" || "$SITE" == "oa" || "$SITE" == "monitor" ]]; then ssh txjp "rm -rf $REMOTE_DIR/.next/standalone/node_modules/@img/sharp-linuxmusl-x64 \ $REMOTE_DIR/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64 \ $REMOTE_DIR/.next/standalone/node_modules/@next/swc-linux-x64-musl 2>/dev/null; echo '已清理 musl 残留'"