fix(ci): preserve staging dashboard domain during deployment
Deploy EG-BIM QA Gateway / deploy (push) Successful in 2m5s

Omit staging route declarations and disable workers.dev so Wrangler preserves the existing qa-test custom domain without requesting zone routing access. Match the production domain management model.

Validation: 123 tests and a real Wrangler dry-run pass. New staging organization key passes org:verify; run 227269 attempt 2 then failed on the zone workers/routes API before this configuration fix.
This commit is contained in:
root committed 2026-11-11 12:53:46 +09:00
1 parent e2a6168744
commit e2e70c13ac
2 files changed
+5 -4

No files matched your search

+2 -1
View File
@@ -121,7 +121,8 @@ Cloudflare API Token에는 최소한 다음 권한이 필요합니다.
- Account → Workers Scripts → Edit
- Account → Workers R2 Storage → Edit
- Account → Account Settings → Read
- Custom Domain route를 Actions에서 변경할 경우 Zone → Workers Routes → Edit
스테이징 `qa-test.baroncs.co.kr`과 운영 `qa.baroncs.co.kr`의 도메인 연결은 Cloudflare 대시보드에서 관리합니다. 두 Wrangler 설정 모두 `route`/`routes`를 생략하고 `workers_dev=false`로 지정해 기존 연결을 유지합니다. 배포 시 Zone 라우팅 API를 호출하지 않으므로 이 작업에 Zone 권한을 추가할 필요가 없습니다. [Cloudflare 설정 안내](https://developers.cloudflare.com/workers/wrangler/configuration/#source-of-truth)
`.gitea/workflows/deploy.yml`은 `main` push 또는 수동 실행 시 세션 secret을 Worker에 등록하고 R2 업로드 후 `baron-qa-gateway-test`를 배포합니다. 실제 secret 값은 로그에 출력하지 않습니다.