From 8fb3b0fb4411b9ce43d79ab6891f2cbb3080fd84 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Fri, 5 Apr 2024 16:56:43 -0400 Subject: [PATCH] Don't do the extra connectivity check in CI --- scripts/get-webmentions.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/get-webmentions.sh b/scripts/get-webmentions.sh index a90b773..9105f2d 100644 --- a/scripts/get-webmentions.sh +++ b/scripts/get-webmentions.sh @@ -12,7 +12,9 @@ exit_on_connectivity_failure() { exit 0 } -sh scripts/connectivity-check.sh || exit_on_connectivity_failure +if [ -z "$JOB_URL" ]; then + sh scripts/connectivity-check.sh || exit_on_connectivity_failure +fi dirname="$(dirname "$0")" curl_wrapper="$dirname/curl-wrapper.sh"