From 47cc72dba486503ef6fe76bd1edc2ae5d4c7b78d Mon Sep 17 00:00:00 2001 From: Arachne <66822642+Arachneee@users.noreply.github.com> Date: Tue, 15 Oct 2024 15:56:45 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20blue=20green=20=EB=AC=B4=EC=A4=91?= =?UTF-8?q?=EB=8B=A8=20=EB=B0=B0=ED=8F=AC=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/backend-prod.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/backend-prod.yml b/.github/workflows/backend-prod.yml index c788ce51..0a6134d5 100644 --- a/.github/workflows/backend-prod.yml +++ b/.github/workflows/backend-prod.yml @@ -72,11 +72,11 @@ jobs: CURRENT_PORT=$(sudo docker ps --format "{{.Names}} {{.Ports}}" | grep "***-backend" | grep -o '8080\|8081' || echo "") echo "CURRENT_PORT on port $CURRENT_PORT." # CURRENT_PORT가 빈 문자열이거나 8081인 경우 - if [ -z "$CURRENT_PORT" ] || [ "$CURRENT_PORT" == "8081" ]; then - echo "null or 8081" + if [ "$CURRENT_PORT" == "8081" ]; then + echo "IF CURRENT_PORT : null or 8081" NEXT_PORT=8080 else - echo "8080" + echo "IF CURRENT_PORT : 8080" NEXT_PORT=8081 fi