Skip to content

Commit ced7e22

Browse files
committed
✨ feat: CI - Broken links
1 parent 3f91477 commit ced7e22

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/broken-links.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- name: Check markdown links
2222
id: check-links
2323
uses: lycheeverse/lychee-action@v2
24+
continue-on-error: true
2425
with:
2526
files: "**/*.md"
2627
retries: 3
@@ -29,7 +30,8 @@ jobs:
2930
output: /tmp/broken_links_report.txt
3031

3132
- name: Log output
32-
if: steps.check-links.outputs.broken_links > 0
33+
if: steps.check-links.outcome == 'failure'
3334
run: |
3435
echo "### 🔗 Broken Links Report" >> $GITHUB_STEP_SUMMARY
3536
cat /tmp/broken_links_report.txt >> $GITHUB_STEP_SUMMARY
37+
exit 1

0 commit comments

Comments
 (0)