diff --git a/.github/workflows/backend-prod-cd.yml b/.github/workflows/backend-prod-cd.yml index c1c10c3b0..cd1924e0f 100644 --- a/.github/workflows/backend-prod-cd.yml +++ b/.github/workflows/backend-prod-cd.yml @@ -109,10 +109,10 @@ jobs: - name: docker pull run: docker pull ${{ secrets.DOCKERHUB_USERNAME }}/momo-api-prod - # 2. 실행 컨테이너 중 app 서비스만 재시작 - - name: Restart app service - run: docker compose -f $HOME/security/docker-compose-prod.yml restart app --no-deps + # 2. 블루그린 배포 스크립트 실행 + - name: Launch Blue-Green Deployment + run: chmod +x $HOME/security/deploy.sh; $HOME/security/deploy.sh - # 3. 미사용 이미지를 정리 + # 3. 미사용 이미지 정리 - name: delete old docker image run: docker system prune -f diff --git a/backend/src/main/resources/security b/backend/src/main/resources/security index a69e04a96..be2952ff1 160000 --- a/backend/src/main/resources/security +++ b/backend/src/main/resources/security @@ -1 +1 @@ -Subproject commit a69e04a96d788487452645e6e77941830a1b59a5 +Subproject commit be2952ff10692da3ab0350592c2f139f6209cc9f