Skip to content

Commit

Permalink
⛔️ fail on redirected to show that this should work for broken
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin committed Oct 12, 2024
1 parent 433734d commit 913cb8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:

- name: Check for broken links
run: |
broken_links=$(jq 'select(.status == "broken")' "$BUILDDIR/linkcheck/output.json")
broken_links=$(jq 'select(.status == "redirected")' "$BUILDDIR/linkcheck/output.json")
if [ -n "$broken_links" ]; then
echo "Broken links found:"
echo "$broken_links"
Expand Down

0 comments on commit 913cb8c

Please sign in to comment.