Check site for broken links #130
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
name: Check site for broken links | |
on: | |
schedule: | |
- cron: "0 0 * * 0" | |
# every Sunday at midnight | |
# see https://crontab.guru/#0_0_*_*_0 | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
default: warning | |
description: "Log level" | |
required: true | |
tags: | |
description: 'Run manually' | |
jobs: | |
check-site-for-broken-links: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: fitzwilliammuseum/broken-link-checker@1.0.0 | |
with: | |
sitemap: https://fitzmuseum.cam.ac.uk/sitemap.xml | |
allowList: '["https://tickets.museums.cam.ac.uk/account/create","https://www.registrarysoffice.admin.cam.ac.uk/governance-and-strategy/anti-slavery-and-anti-trafficking","https://cubc.org.uk","https://www.linkedin.com/company/the-fitzwilliam-museum/"]' |