From 6df53ea053a0171ab3f4b595f672f4e557c171b6 Mon Sep 17 00:00:00 2001 From: Claude Code Date: Fri, 26 Jun 2026 18:30:10 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Git=20Hook=20=EC=9E=AC=EB=8F=99=EA=B8=B0?= =?UTF-8?q?=ED=99=94=20=EB=B0=8F=20=EC=95=88=EC=A0=95=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 변경사항 ### Gitea Hook 재생성 - 원인: Gitea Docker 컨테이너의 hook 파일 손상 - 해결: docker exec gitea를 통한 hook 재생성 - 명령: su git -c '/app/gitea/gitea admin regenerate hooks' ### Hook 파일 검증 - pre-receive: 푸시 전 검증 (18개 파일 생성됨) - update: 브랜치별 검증 - post-receive: 배포 트리거 (자동 배포 시작) ### 자동 배포 트리거 정상화 - git push 시 "Create new pull request" 메시지 정상 표시 - Gitea 경고 메시지 완전 해결 - 배포 자동화 파이프라인 정상 작동 ## 검증 방법 `ash # 1. Hook 상태 확인 docker exec gitea ls -la /data/git/repositories/kjh2064/taxbaik.git/hooks/ # 2. 테스트 커밋 git commit --allow-empty -m 'test' git push origin develop # 3. 결과 확인 # 'Processing 1 references' 메시지 표시 → 정상 ` ## 최종 상태 ✅ Git Hook: 정상 작동 ✅ 배포 트리거: 활성화 ✅ Gitea 경고: 해결