From 279f274cdffe0437ce341c96566b362718d6f3e4 Mon Sep 17 00:00:00 2001 From: egillax Date: Fri, 1 Nov 2024 13:59:18 +0100 Subject: [PATCH] add broken link checker --- .github/workflows/pkgdown.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 79562c5..ae9da41 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -18,7 +18,7 @@ jobs: env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: r-lib/actions/setup-pandoc@v2 @@ -31,6 +31,10 @@ jobs: extra-packages: any::pkgdown, ohdsi/OhdsiRTools, local::. needs: website + - uses: lycheeverse/lychee-action@v2 + with: + args: --base . --verbose --no-progress --accept '100..=103, 200..=299, 403' './**/*.md' './**/*.Rmd' + - name: Build site run: Rscript -e 'pkgdown::build_site_github_pages(new_process = FALSE)'