Deploy: exdev sync 2026-07-28 09:40:42

This commit is contained in:
Macbook
2026-07-28 09:40:42 +09:00
parent f85e4adc35
commit 1ee28f3a4d
8 changed files with 41 additions and 59 deletions
+6 -2
View File
@@ -52,7 +52,10 @@ Gitea(`https://github.exdev.co.kr`)에서 **`exAichatbot_agent`** 저장소 생
```bash
./start-all-server.sh
# = git_fetch_all (GitHub) → push-to-gitea → post-receive 배포 대기
# = 로컬 빌드 → Gitea(exdev) push → 원격 배포 (공식 GitHub push 없음)
./git_fetch_all.sh
# = 확인 후 공식 GitHub(KoreaExpressWayCorp) 반영 전용
```
| 옵션 | 설명 |
@@ -69,7 +72,8 @@ Gitea(`https://github.exdev.co.kr`)에서 **`exAichatbot_agent`** 저장소 생
./server-dev/push-to-gitea.sh --dry-run
```
**main push 시 자동:** `post-receive` → `deploy-exAichatbot_agent.sh` → checkout + `git_fetch_all --init` → `start-all-server.sh --no-pull --no-push`
**main push 시 자동:** `post-receive` → `deploy-exAichatbot_agent.sh` → Gitea checkout → `start-all-server.sh --no-pull --no-push`
(공식 GitHub `git_fetch_all` 은 deploy 경로에서 호출하지 않음)
서버에서 GitHub clone 이 안 되면 **로컬 `./start-all-server.sh`** 가 submodule rsync + chatbotApp 로컬 빌드 후 배포합니다.