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)'