Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
sudo docker pull ${{ secrets.DOCKER_REPO }}:latest

# 서버의 현재 환경 확인 (블루 / 그린)
ENV_COLOR=$(curl --silent --fail https://www.api-spot.store/spot/current-env || echo "none")
ENV_COLOR=$(curl --silent --fail https://api-spot.store/spot/current-env || echo "none")

if [[ "$ENV_COLOR" == "blue" || "$ENV_COLOR" == "none" ]]; then
# 블루 서버가 실행 중이거나 아무 서버도 돌아가고 있지 않다면 그린 서버를 실행
Expand Down