Skip to content

Commit

Permalink
fix(cd): give container new service name
Browse files Browse the repository at this point in the history
  • Loading branch information
astorverse committed Jul 23, 2024
1 parent b0bef2f commit 521793d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-to-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ jobs:
for i in {1..20}; do
echo "Attempting health check on $HOST (attempt $i)"
echo "curl 그냥 하기 to http://localhost:$NEW_PORT/health""
ssh -i deploy_key.pem $SERVER "curl http://localhost:$NEW_PORT/health"
echo "그냥하기 성공"
ssh -i deploy_key.pem $SERVER "curl -v -s -o /dev/null -w '%{http_code}' http://localhost:$NEW_PORT/health"
echo "여기까지 실행 된다"
HEALTH_CHECK=$(ssh -i deploy_key.pem $SERVER "curl -v -s -o /dev/null -w '%{http_code}' http://localhost:$NEW_PORT/health")
Expand Down

0 comments on commit 521793d

Please sign in to comment.