Skip to content

Commit

Permalink
chore: prod 무중단 배포 스크립트 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
jjikky committed Sep 9, 2024
1 parent 065a0a7 commit 30feeb3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/prod-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ jobs:
- name: Docker 컨테이너 시작
run: |
sudo docker stop dao-signaling-server || true
docker rm dao-signaling-server || true
docker run -d --name dao-signaling-server --network backend-network -p 8083:8083 jjikky/dao-signaling-server:prod
sudo chmod +x deploy.sh
sudo ./deploy.sh
- name: 도커 이미지 정리
run: |
sudo docker image prune --all --force

0 comments on commit 30feeb3

Please sign in to comment.