Commit Graph

3 Commits

Author SHA1 Message Date
ttipo f182ccbcc4 러너 동작 확인용 임시 테스트 워크플로우 추가
CI Test / test (push) Successful in 0s
Deploy / deploy (push) Failing after 0s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 05:00:39 +09:00
ttipo 58c90b3454 배포 방식을 영구 디렉터리 git pull 방식으로 변경
Deploy / deploy (push) Failing after 1s
actions/checkout의 git clean이 바인드 마운트된 backend/img(업로드 파일)를
삭제하는 문제가 있어, 서버의 영구 배포 디렉터리에서 pull + compose up 하는
방식으로 전환. .env는 서버 파일로 관리하므로 Secrets 등록 불필요.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 04:47:04 +09:00
ttipo 4aebfaf049 CI/CD 준비: gitignore 정리, backend 멀티스테이지 빌드, Gitea Actions 배포 워크플로우
- .gitignore 추가: node_modules, dist, .env 파일을 추적에서 해제 (로컬 파일은 유지)
- .env.example 템플릿 추가 (실제 값은 서버 .env / Gitea Secrets로 관리)
- backend Dockerfile을 멀티스테이지로 전환: 이미지 빌드 내에서 npm ci + build.js 실행
- backend/frontend .dockerignore 추가
- .gitea/workflows/deploy.yml 추가: main push 시 배포 서버 러너가 compose build + up

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 03:54:20 +09:00