From e6fab442d1f964a5957881f04a889af827579cb5 Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Wed, 3 Apr 2024 13:54:31 -0700 Subject: [PATCH] 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 --- .github/workflows/build-site.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-site.yml b/.github/workflows/build-site.yml index d56bfb78..d0f0cf8b 100644 --- a/.github/workflows/build-site.yml +++ b/.github/workflows/build-site.yml @@ -41,7 +41,8 @@ jobs: id: lychee uses: lycheeverse/lychee-action@v1.9.0 with: - args: --verbose --no-progress _site/**/*.html + fail: true + args: --verbose --no-progress _site/*.html env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}