Deploy: exdev sync 2026-11-04 00:52:39

This commit is contained in:
Macbook
2026-11-04 00:52:39 +09:00
parent db5623341a
commit 12ad9e993c
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ fi
log "[Phase 4] start-all-server.sh (기동)" log "[Phase 4] start-all-server.sh (기동)"
START_ARGS=(--skip-legacy-stop --no-pull --no-push) START_ARGS=(--skip-legacy-stop --no-pull --no-push)
if $START_ONLY || [[ -f "$WORK_TREE/chatbotApp-chatbot2.0-agent/public/index.html" ]]; then if $START_ONLY || [[ -f "$WORK_TREE/chatbotApp-chatbot2.0-agent/public-ai/index.html" ]]; then
START_ARGS+=(--no-build) START_ARGS+=(--no-build)
fi fi
"$WORK_TREE/server-dev/start-all-server.sh" "${START_ARGS[@]}" "$WORK_TREE/server-dev/start-all-server.sh" "${START_ARGS[@]}"
+2 -3
View File
@@ -162,7 +162,7 @@ trigger_remote_deploy() {
} }
build_chatbot_app_for_deploy() { build_chatbot_app_for_deploy() {
log "chatbotApp 로컬 빌드 (서버 Next.js 대신 public/ 생성)..." log "chatbotApp 로컬 빌드 (서버 Next.js 대신 public-ai/ 등 생성)..."
chmod -R u+w "${APP_DIR}/public-sample" 2>/dev/null || true chmod -R u+w "${APP_DIR}/public-sample" 2>/dev/null || true
rm -rf "${APP_DIR}/public-sample" 2>/dev/null || true rm -rf "${APP_DIR}/public-sample" 2>/dev/null || true
( (
@@ -170,7 +170,6 @@ build_chatbot_app_for_deploy() {
npm ci --prefer-offline 2>/dev/null || npm install npm ci --prefer-offline 2>/dev/null || npm install
) )
NEXT_PUBLIC_FARE_QUERY_MOCK=true bash "${APP_DIR}/build.sh" NEXT_PUBLIC_FARE_QUERY_MOCK=true bash "${APP_DIR}/build.sh"
[[ -f "${APP_DIR}/public/index.html" ]] || fail "chatbotApp public/ 빌드 실패"
[[ -f "${APP_DIR}/public-ai/index.html" ]] || fail "chatbotApp public-ai/ 빌드 실패" [[ -f "${APP_DIR}/public-ai/index.html" ]] || fail "chatbotApp public-ai/ 빌드 실패"
build_desktop_app build_desktop_app
} }
@@ -625,7 +624,7 @@ start_java_service() {
} }
build_chatbot_app() { build_chatbot_app() {
if $NO_BUILD && [[ -f "${APP_DIR}/public/index.html" ]]; then if $NO_BUILD && [[ -f "${APP_DIR}/public-ai/index.html" ]]; then
log "chatbotApp 빌드 생략 (--no-build)" log "chatbotApp 빌드 생략 (--no-build)"
return 0 return 0
fi fi