Skip to content

Commit

Permalink
Test: 블루-그린 무중단 배포 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
tioon committed Jun 30, 2024
1 parent f12e62c commit 3e4164f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
# 새 Docker 이미지 가져오기 및 새로운 컨테이너 실행
sudo docker pull ${{secrets.DOCKERHUB_USERNAME}}/qtudy-server
sudo docker run -d -p $NEW_PORT:8080 --name $NEW_CONTAINER ${{secrets.DOCKERHUB_USERNAME}}/qtudy-server
sudo docker run -d -p $NEW_PORT:8080 --network="host" --name $NEW_CONTAINER ${{secrets.DOCKERHUB_USERNAME}}/qtudy-server
# Nginx 설정 파일 교체 및 재시작
sudo ln -sf $NEW_CONF /etc/nginx/active.conf
Expand Down

0 comments on commit 3e4164f

Please sign in to comment.