Skip to content

Commit

Permalink
fixing health check bug
Browse files Browse the repository at this point in the history
  • Loading branch information
shashitnak committed May 30, 2024
1 parent 7f51b0e commit ad3f9b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ setup_flyctl() {
}

extract_urls() {
grep -oE 'http[s]?://[^ ]+'
grep -oE 'http[s]?://[^ "]+'
}

deploy() {
Expand All @@ -74,5 +74,4 @@ deploy() {
deploy | tee /tmp/deployment.log

DEPLOYMENT_URL=$(cat /tmp/deployment.log | extract_urls | tail -n 1)
echo "$DEPLOYMENT_URL"
/scripts/health-check.sh "$DEPLOYMENT_URL"

0 comments on commit ad3f9b6

Please sign in to comment.