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 3065105 commit a853b5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
fi
# 새 Docker 이미지 가져오기 및 새로운 컨테이너 실행
sudo docker pull $DOCKERHUB_USERNAME/qtudy-server
sudo docker run -d -p $NEW_PORT:8080 --name $NEW_CONTAINER $DOCKERHUB_USERNAME/qtudy-server
sudo docker pull ${{secrets.DOCKERHUB_USERNAME}}/qtudy-server
sudo docker run -d -p $NEW_PORT:8080 --name $NEW_CONTAINER ${{secrets.DOCKERHUB_USERNAME}}/qtudy-server
# Nginx 설정 파일 교체 및 재시작
sudo ln -sf $NEW_CONF /etc/nginx/active.conf
Expand Down

0 comments on commit a853b5f

Please sign in to comment.