Skip to content

Commit e6fab44

Browse files
authored
Update lychee action to catch bad link at the base directory level (#362)
* Change where lychee recurses from * Add badlink for testing * Add fail indication to workflow for lychee * Remove bad link used for testing
1 parent d8bdce3 commit e6fab44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-site.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
id: lychee
4242
uses: lycheeverse/lychee-action@v1.9.0
4343
with:
44-
args: --verbose --no-progress _site/**/*.html
44+
fail: true
45+
args: --verbose --no-progress _site/*.html
4546
env:
4647
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
4748

0 commit comments

Comments
 (0)