Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Giri-Aayush authored Oct 15, 2024
1 parent b84b3ae commit bb48d50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
ruby-version: 2.6
- name: Install awesome_bot
run: gem install awesome_bot
- name: Check non-Medium URLs
- name: Check non-Medium/arXiv URLs
run: |
awesome_bot README.md --allow-redirect \
--request-delay 1 \
Expand All @@ -25,15 +25,15 @@ jobs:
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 10 --set-timeout 15 -
awesome_bot $medium_urls --allow-redirect --request-delay 10 --set-timeout 15
else
echo "No Medium URLs found"
fi
- name: Check arXiv URLs
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 120 --set-timeout 150 -
awesome_bot $arxiv_urls --allow-redirect --request-delay 120 --set-timeout 150
else
echo "No arXiv URLs found"
fi

0 comments on commit bb48d50

Please sign in to comment.