Skip to content

Commit

Permalink
HTML Proofer: Ignore links to twitter.com.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjrd committed Feb 20, 2024
1 parent 8f9720e commit beb5524
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ jobs:
- name: HTMLProofer
run: |
# Check all links
# Don't check links to twitter.com because they return 400 all the time
bundle exec htmlproofer ./_site/\
--only-4xx\
--ignore-empty-alt=true\
--allow-hash-href=true\
--enforce-https=false\
--ignore-missing-alt=true\
--swap-urls "https\:\/\/scala\.epfl\.ch:"\
--ignore-urls "/twitter.com/"\
--cache '{ "timeframe": { "external": "30d" } }'

0 comments on commit beb5524

Please sign in to comment.