Skip to content

Commit

Permalink
add broken link checker
Browse files Browse the repository at this point in the history
  • Loading branch information
egillax committed Nov 1, 2024
1 parent f7c9b9c commit 279f274
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)'

Expand Down

0 comments on commit 279f274

Please sign in to comment.