Skip to content

feat: feature-cicd-github-actions 깃허브 actions 배포 workflow 세팅#28

Open
kimminhyeok0707 wants to merge 3 commits intodevelopfrom
feature-cicd-github-actions
Open

feat: feature-cicd-github-actions 깃허브 actions 배포 workflow 세팅#28
kimminhyeok0707 wants to merge 3 commits intodevelopfrom
feature-cicd-github-actions

Conversation

@kimminhyeok0707
Copy link
Copy Markdown
Contributor

  • GitHub Actions 기반 배포 workflow 추가
  • main 브랜치 push 시 서버에서 git pull 후 docker compose 배포하도록 구성
  • SSH 접속 기반 배포 스크립트 정리

@kimminhyeok0707 kimminhyeok0707 requested a review from junhhhe March 25, 2026 12:06
@kimminhyeok0707 kimminhyeok0707 changed the title feat: github actions 배포 workflow 세팅 feat: feature-cicd-github-actions 깃허브 actions 배포 workflow 세팅 Mar 25, 2026
@kimminhyeok0707 kimminhyeok0707 changed the base branch from main to develop March 25, 2026 12:21
Copy link
Copy Markdown
Contributor

@junhhhe junhhhe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. mian -> develop으로 수정
  2. host, port 등등 관련 인스턴스 정보들 전부 secrets로 관리 해주세요.
  3. git 로그인해서 사용하지 말고 jar파일 서버에 복사해서 사용해주세요

Copy link
Copy Markdown
Contributor

@junhhhe junhhhe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. docker compose up -d --build 명령어로 실행과 빌드를 한번에 처리
  2. dockerfile을 runner에서 직접 만들지말고 서버에 복사 후 사용
  3. --no-cache를 사용하는 이유가 따로 있나? (docker의 레이어 캐싱 사용하여 빌드 속도 향상 가능)
  4. jar파일을 중복으로 복사 하고 있는 것 같음

실제 서버에 자동 배포 되는지 까지 확인 해주세요.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants