Skip to content

Commit 2805267

Browse files
committed
check broken links
1 parent 82b1929 commit 2805267

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/broken-links-check.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,10 @@ jobs:
1616
- name: Install Mint
1717
run: npm i -g mint
1818
- name: Broken Link Check
19-
run: mint broken-links
19+
run: |
20+
set -o pipefail
21+
mint broken-links | tee output.log
22+
if ! grep -q "success" output.log; then
23+
echo "No success found in log. Exiting."
24+
exit 1
25+
fi

0 commit comments

Comments
 (0)