From beb5524e986d076a33887b400ef7d04bd22c3450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Doeraene?= Date: Tue, 20 Feb 2024 09:49:22 +0100 Subject: [PATCH] HTML Proofer: Ignore links to twitter.com. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3171077..974bc02 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,7 @@ 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\ @@ -42,4 +43,5 @@ jobs: --enforce-https=false\ --ignore-missing-alt=true\ --swap-urls "https\:\/\/scala\.epfl\.ch:"\ + --ignore-urls "/twitter.com/"\ --cache '{ "timeframe": { "external": "30d" } }'