Skip to content

Commit

Permalink
skip laggy urls in docs ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyhanson committed Aug 19, 2024
1 parent d224cac commit 7d09c51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ jobs:
run: |
result <- urlchecker::url_check()
result <- result[!startsWith(result$URL, "https://doi.org/"), , drop = FALSE]
result <- result[!startsWith(result$URL, "https://land.copernicus.eu"), , drop = FALSE]
result <- result[!startsWith(result$URL, "https://www.iucnredlist.org"), , drop = FALSE]
result <- result[!startsWith(result$URL, "https://lpdaac.usgs.gov"), , drop = FALSE]
if (nrow(result) > 0) {
print(result)
stop("Invalid URLs detected")
Expand Down

0 comments on commit 7d09c51

Please sign in to comment.