Deploy: exdev sync 2026-08-11 15:48:53
This commit is contained in:
@@ -137,12 +137,14 @@ trigger_remote_deploy() {
|
||||
rm -f \"\${WT}/.git\" /tmp/exAichatbot_agent_deploy.lock"
|
||||
sync_submodules_to_server
|
||||
log "원격 deploy (빌드 + 기동)..."
|
||||
ssh -o BatchMode=yes "${EXDEV_SSH}" \
|
||||
# SSH 세션에서 deploy 가 끝나므로, 실패 시 즉시 중단 (wait 900s 방지)
|
||||
if ! ssh -o BatchMode=yes -o ServerAliveInterval=30 -o ServerAliveCountMax=120 "${EXDEV_SSH}" \
|
||||
"cp /Users/aidev/dev/exAichatbot_agent/server-dev/deploy.sh /Volumes/ADATA/git/deploy-exAichatbot_agent.sh 2>/dev/null || true; \
|
||||
chmod +x /Volumes/ADATA/git/deploy-exAichatbot_agent.sh; \
|
||||
export PATH=\"/opt/homebrew/bin:/Applications/Docker.app/Contents/Resources/bin:\$PATH\"; \
|
||||
bash /Volumes/ADATA/git/deploy-exAichatbot_agent.sh --start-only" \
|
||||
|| warn "원격 deploy 실패"
|
||||
bash /Volumes/ADATA/git/deploy-exAichatbot_agent.sh --start-only"; then
|
||||
fail "원격 deploy 실패 — ssh ${EXDEV_SSH} 'tail -80 /Volumes/ADATA/logs/deploy/exAichatbot_agent.log'"
|
||||
fi
|
||||
}
|
||||
|
||||
build_chatbot_app_for_deploy() {
|
||||
|
||||
Reference in New Issue
Block a user