From 90b3df70f0246dcbb5de291956ed2983d77ccfce Mon Sep 17 00:00:00 2001 From: Aayush Giri <101140354+Giri-Aayush@users.noreply.github.com> Date: Tue, 15 Oct 2024 16:28:38 +0530 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 352aa77..e82930e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,14 +18,14 @@ jobs: - name: Check non-Medium/arXiv URLs run: | awesome_bot README.md --allow-redirect \ - --request-delay 0.2 \ - --set-timeout 5 \ + --request-delay 2 \ + --set-timeout 10 \ --white-list medium.com,arxiv.org - name: Check Medium URLs run: | medium_urls=$(grep -Eo 'https?://[^[:space:]]+medium.com[^[:space:]]*' README.md) if [ ! -z "$medium_urls" ]; then - echo "$medium_urls" | awesome_bot --allow-redirect --request-delay 5 --set-timeout 10 - + awesome_bot $medium_urls --allow-redirect --request-delay 5 else echo "No Medium URLs found" fi @@ -33,7 +33,7 @@ jobs: run: | arxiv_urls=$(grep -Eo 'https?://arxiv.org[^[:space:]]*' README.md) if [ ! -z "$arxiv_urls" ]; then - echo "$arxiv_urls" | awesome_bot --allow-redirect --request-delay 30 --set-timeout 40 - + awesome_bot $arxiv_urls --allow-redirect --request-delay 15 --set-timeout 20 else echo "No arXiv URLs found" fi