Skip to content

Commit b568718

Browse files
Find dirs to exclude to avoid format error in link-checking workflow
1 parent cc829fa commit b568718

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/check_links.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@ jobs:
2121

2222
# See exclusions in .lycheeignore, remove lines and give it a whirl if you're hunting broken links
2323
# TODO SADIE: './Data/cf-conventions/**/build/*.html' not working as glob exclusion - why???
24+
# NOTE: must specify --exclude-path each time, also, else only first path gets picked up!
2425
- name: Check links
2526
uses: lycheeverse/lychee-action@master
2627
with:
2728
fail: true
2829
args: >
2930
--verbose --no-progress './**/*.md' './**/*.html'
30-
--exclude-path Data/cf-conventions/cf-conventions-1.3/build/ Data/cf-conventions/cf-conventions-1.2/build/
31+
--exclude-path Data/cf-conventions/cf-conventions-1.2/build/
32+
--exclude-path Data/cf-conventions/cf-conventions-1.3/build/
3133
env:
3234
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
3335

0 commit comments

Comments
 (0)