Skip to content

Commit 972b5b5

Browse files
committed
linkcheck-output: exit non-zero so GH hopefully shows ❌
1 parent 5b2ae98 commit 972b5b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ci/summarise-linkcheck-output

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ if [[ $N_REDIRECTED -gt 0 ]]; then
1919
printf "\n\033[35;1m%s\033[0m\n" "Redirected links"
2020
jq -r 'select(.status=="redirected") | "\(.filename):\(.lineno) \(.uri)\n \(.code) \(.info)"' "$LINKCHECK"
2121
fi
22+
23+
exit "$N_BROKEN"

0 commit comments

Comments
 (0)