From 9eaa6ed31db74ae68e5aeffcd2b27acb18398a10 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Tue, 16 Jul 2024 18:03:19 -0700 Subject: [PATCH] feat: make URL in verification failure clickable (#84) --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 233ce0b..98e8cdf 100644 --- a/action.yml +++ b/action.yml @@ -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