File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,20 @@ jobs:
2020 uses : actions/checkout@v3
2121
2222 # See exclusions in .lycheeignore, remove lines and give it a whirl if you're hunting broken links
23- # 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!
2523 - name : Check links
24+ id : lychee
2625 uses : lycheeverse/lychee-action@master
2726 with :
2827 fail : true
28+ # We need to exclude the cf-conventions-1.2 and .3 build dirs
29+ # because they lead to an error of:
30+ # Error: Cannot read input content from file <relevant file>
31+ # Caused by:
32+ # stream did not contain valid UTF-8
33+ # Note: --exclude-path only takes one input path, so we need
34+ # to set it twice.
2935 args : >
30- --verbose -- no-progress './**/*.md' './**/*.html'
36+ --no-progress './**/*.md' './**/*.html'
3137 --exclude-path Data/cf-conventions/cf-conventions-1.2/build/
3238 --exclude-path Data/cf-conventions/cf-conventions-1.3/build/
3339 env :
You can’t perform that action at this time.
0 commit comments