Skip to content

Commit 32ef114

Browse files
Update Broken-links-checker-final.yml
1 parent 829ea2d commit 32ef114

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/Broken-links-checker-final.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ jobs:
5252
if: github.event_name == 'workflow_dispatch'
5353
run: |
5454
rsync -av --exclude '.git' --exclude 'node_modules' ./ sanitized_md/
55-
find sanitized_md -name "*.md" -exec sed -i -e 's/<!--.*-->//g' -e '/<!--/,/-->/d' {} +
55+
find sanitized_md -name "*.md" -exec perl -0777 -i -pe 's/<!--.*?-->//gs' {} +
56+
5657
5758
- name: Run Lychee on Entire Repo (Manual)
5859
if: github.event_name == 'workflow_dispatch'

0 commit comments

Comments
 (0)