Skip to content

Commit

Permalink
feat: make URL in verification failure clickable (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Jul 17, 2024
1 parent 0e7fa88 commit 9eaa6ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ runs:
echo "No route found. Skipping."
exit 0
fi
echo -e "URL: ${URL_HOST_PATH}"
echo -e "URL: http://${URL_HOST_PATH}"
# Curl and verify
TRIES="${{ inputs.verification_retry_attempts }}"
SECONDS="${{ inputs.verification_retry_seconds }}"
TRIES="${{ inputs.verification_retry_attempts }} || 3"
SECONDS="${{ inputs.verification_retry_seconds }} || 10"
for (( i=0; i<"${TRIES}"; i++ )); do
HTTP_CODE=$(curl -Lso /dev/null -w "%{http_code}" "${URL_HOST_PATH}")
if [ "${HTTP_CODE}" -eq 200 ]; then
Expand Down

0 comments on commit 9eaa6ed

Please sign in to comment.