Skip to content

Commit

Permalink
linkcheck-output: exit non-zero so GH hopefully shows ❌
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Mar 5, 2023
1 parent 5b2ae98 commit 972b5b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/summarise-linkcheck-output
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ if [[ $N_REDIRECTED -gt 0 ]]; then
printf "\n\033[35;1m%s\033[0m\n" "Redirected links"
jq -r 'select(.status=="redirected") | "\(.filename):\(.lineno) \(.uri)\n \(.code) \(.info)"' "$LINKCHECK"
fi

exit "$N_BROKEN"

0 comments on commit 972b5b5

Please sign in to comment.