fix(deploy): brace COMPOSE_FILE in Chinese echo string
Bash treated the full-width comma after $COMPOSE_FILE as part of the variable name under UTF-8 locale, causing an unbound variable error at the Next.js container rebuild step.
This commit is contained in:
+1
-1
@@ -276,7 +276,7 @@ cmd_deploy() {
|
|||||||
$COMPOSE_CMD -f '$COMPOSE_FILE' up -d
|
$COMPOSE_CMD -f '$COMPOSE_FILE' up -d
|
||||||
echo \"✅ Next.js 容器已重建\"
|
echo \"✅ Next.js 容器已重建\"
|
||||||
else
|
else
|
||||||
echo \"⚠️ 未找到 $COMPOSE_FILE,跳过 Next.js 容器重建\"
|
echo \"⚠️ 未找到 ${COMPOSE_FILE},跳过 Next.js 容器重建\"
|
||||||
fi
|
fi
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user