Link check #763
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will check links on www.library.ucsf.edu. | |
name: Link check | |
on: | |
schedule: | |
# Run every day at 4:05 AM. | |
- cron: '5 4 * * *' | |
workflow_dispatch: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
# Skip anything that is not *.ucsf.edu, and also skip Springshare (LibGuides, LibCal) | |
# because it rate limits aggressively, and other sites (Zendesk, makeagift) that block bots. | |
- run: npx linkinator --concurrency 10 -r --skip '^(?!https?://.*.ucsf.edu/)|https?://calendars.library.ucsf.edu/|https?://guides.ucsf.edu/|https?://libraryhelp.ucsf.edu/|https?://makeagift.ucsf.edu/' https://www.library.ucsf.edu/ -f csv |