Deploy: exdev sync 2026-11-04 00:52:39
This commit is contained in:
@@ -162,7 +162,7 @@ trigger_remote_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
|
||||
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
|
||||
)
|
||||
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/ 빌드 실패"
|
||||
build_desktop_app
|
||||
}
|
||||
@@ -625,7 +624,7 @@ start_java_service() {
|
||||
}
|
||||
|
||||
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)"
|
||||
return 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user