Skip to content

Commit

Permalink
🐛 Fix: health check할 때 /api 붙이기 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Amepistheo committed Jul 21, 2024
1 parent 969846b commit 5f87905
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ jobs:
steps:
- name: Set target IP
run: |
STATUS=$(curl -o /dev/null -w "%{http_code}" "http://${{ secrets.SERVER_DOMAIN }}/global/health-check")
STATUS=$(curl -o /dev/null -w "%{http_code}" "http://${{ secrets.SERVER_DOMAIN }}/api/global/health-check")
echo $STATUS
if [ $STATUS = 200 ]; then
CURRENT_UPSTREAM=$(curl -s "http://${{ secrets.SERVER_DOMAIN }}/global/health-check")
CURRENT_UPSTREAM=$(curl -s "http://${{ secrets.SERVER_DOMAIN }}/api/global/health-check")
else
CURRENT_UPSTREAM=green
fi
Expand Down

0 comments on commit 5f87905

Please sign in to comment.