Skip to content

Check site for broken links #147

Check site for broken links

Check site for broken links #147

Workflow file for this run

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/[email protected]
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/"]'