Skip to content

Commit

Permalink
Tidy!
Browse files Browse the repository at this point in the history
  • Loading branch information
sadielbartholomew committed Jan 20, 2023
1 parent 1276652 commit 652331d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/check_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,20 @@ jobs:
uses: actions/checkout@v3

# See exclusions in .lycheeignore, remove lines and give it a whirl if you're hunting broken links
# TODO SADIE: './Data/cf-conventions/**/build/*.html' not working as glob exclusion - why???
# NOTE: must specify --exclude-path each time, also, else only first path gets picked up!
- name: Check links
id: lychee
uses: lycheeverse/lychee-action@master
with:
fail: true
# We need to exclude the cf-conventions-1.2 and .3 build dirs
# because they lead to an error of:
# Error: Cannot read input content from file <relevant file>
# Caused by:
# stream did not contain valid UTF-8
# Note: --exclude-path only takes one input path, so we need
# to set it twice.
args: >
--verbose --no-progress './**/*.md' './**/*.html'
--no-progress './**/*.md' './**/*.html'
--exclude-path Data/cf-conventions/cf-conventions-1.2/build/
--exclude-path Data/cf-conventions/cf-conventions-1.3/build/
env:
Expand Down

0 comments on commit 652331d

Please sign in to comment.