diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b1f8fcf7..89fe1441 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -64,7 +64,7 @@ jobs: if curl --silent --fail http://localhost:8081; then echo "Green server is working correctly." # Nginx를 Green 서버로 전환 - sudo sed -i 's/8080/8081/' /etc/nginx/sites-available/teamspot.site + sudo sed -i 's/8080/8081/' /etc/nginx/sites-available/api-spot.store sudo systemctl restart nginx # 기존 서버 종료 sudo docker-compose -f docker-compose.yml stop web-blue @@ -80,7 +80,7 @@ jobs: if curl --silent --fail http://localhost:8080; then echo "Blue server is working correctly." # Nginx를 Blue 서버로 전환 - sudo sed -i 's/8081/8080/' /etc/nginx/sites-available/teamspot.site + sudo sed -i 's/8081/8080/' /etc/nginx/sites-available/api-spot.store sudo systemctl restart nginx # 기존 서버 종료 sudo docker-compose -f docker-compose.yml stop web-green