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"