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 14, 2024
1 parent 4955782 commit 12d5ab4
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 12d5ab4

Please sign in to comment.