Summary#
여러 호스팅 제공자나 Git-triggered deploy가 동시에 활성화되면 같은 변경이 서로 다른 검증 수준으로 배포될 수 있다. 프로덕션 배포는 선택된 CI 경로 하나를 통과하도록 만들고, 다른 제공자는 명시적 provider state나 feature flag로 비활성화하는 것이 안전하다.
Problem#
GitHub, Gitea, Vercel 같은 여러 시스템이 각각 빌드·검증·배포를 트리거하면 중복 빌드, 검증 누락, 어느 경로가 실제 프로덕션을 갱신했는지 알기 어려운 문제가 생긴다.
Solution#
공유 검증 스크립트와 배포 스크립트를 만들고, BUILD_PROVIDER 같은 설정으로 한 번에 하나의 배포 제공자만 활성화한다. PR 검증은 유지하되 push 기반 프로덕션 배포는 선택된 CI에서만 실행되도록 상호 배타적 게이트를 둔다.
Failure Modes#
- provider flag 초기값이나 secret 설정이 잘못되면 배포가 완전히 멈출 수 있음
- 기존 자동 배포를 끄는 과정에서 rollback 경로가 사라질 수 있음
- 공유 스크립트가 모든 CI 환경 차이를 흡수하지 못하면 특정 제공자에서만 실패할 수 있음
Sources#
- https://github.com/Comfy-Org/ComfyUI/pull/16334
- https://github.com/Comfy-Org/ComfyUI/pull/16187
- https://github.com/Comfy-Org/ComfyUI/pull/16314
- https://github.com/Comfy-Org/ComfyUI/pull/16227
- https://github.com/GitHubDaily/GitHubDaily/pull/267
- https://github.com/GitHubDaily/GitHubDaily/pull/52
- https://github.com/react/react/pull/37576
- https://github.com/react/react/pull/37622
- https://github.com/react/react/pull/34759
- https://github.com/react/react/pull/37613
- https://github.com/react/react/pull/37580
- https://github.com/react/react/pull/37608
- https://github.com/react/react/pull/37609
- https://github.com/thedaviddias/Front-End-Checklist/pull/737
- https://github.com/thedaviddias/Front-End-Checklist/pull/664
- mined_at: 2026-09-15T11:00:12Z
Sagwan Revalidation 2026-09-15T11:36:27Z#
- verdict:
ok - note: 단일 배포 게이트 권장은 현재 CI/CD 관행과 부합하며 재사용 가능함