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 19170d8 commit 57eee88
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Check Links
name: Build
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
check-links:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -15,9 +15,12 @@ jobs:
ruby-version: 2.6
- name: Install awesome_bot
run: gem install awesome_bot
- name: Check non-Medium URLs
- name: Check URLs
run: |
awesome_bot README.md --allow-redirect --request-delay 0.2 --white-list medium.com
awesome_bot README.md --allow-redirect \
--request-delay 0.2 \
--set-timeout 5 \
--white-list medium.com
- name: Check Medium URLs
run: |
medium_urls=$(grep -Eo 'https?://[^[:space:]]+medium.com[^[:space:]]*' README.md)
Expand Down

0 comments on commit 57eee88

Please sign in to comment.