Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE] chore: 무중단 배포 개발 서버에 적용하는 cd 작성 #886

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

nayonsoso
Copy link
Contributor

@nayonsoso nayonsoso commented Oct 20, 2024


🚀 어떤 기능을 구현했나요 ?

무중단 배포에 필요한 cd 파일과 yml 파일을 만들어주었습니다. 😊
cd 파일의 전반적인 구조는 동일하나, 마지막 부분에서 아래 부분이 변경되었습니다.

- name: Deploy new version # 변경 부분
  env:
    PROFILE_VAR: "dev"
  run: |
    chmod +x ./deploy.sh
    sudo ./deploy.sh

  working-directory: ${{ env.APPLICATION_DIRECTORY }}/app

테스트용으로 만든것이기 때문에 원본에서 조금만 추가가 된 것임에도
원본을 해치지 않기 위해 파일 자체를 새로 만들어주었습니다 :)

위 내용은, 'deploy.sh' 파일을 실행하겠다는 뜻입니다.
deploy.sh 파일에 필요한 내용들은 요 PR에서 보실 수 있습니다

https://github.com/woowacourse-teams/2024-review-me-secret/pull/5

🔥 어떻게 해결했나요 ?

📝 어떤 부분에 집중해서 리뷰해야 할까요?

📚 참고 자료, 할 말

Copy link

Test Results

155 tests  ±0   152 ✅ ±0   5s ⏱️ -1s
 59 suites ±0     3 💤 ±0 
 59 files   ±0     0 ❌ ±0 

Results for commit 8cc35b5. ± Comparison against base commit 834feff.

Copy link
Contributor

@donghoony donghoony left a comment

Choose a reason for hiding this comment

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

가보자가보자!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

[BE] 무중단 배포를 적용한다.
3 participants