Skip to content

Check for 404 redirect URLs (#2190) #1

Check for 404 redirect URLs (#2190)

Check for 404 redirect URLs (#2190) #1

---
name: Check Redirect 404s
on:
push:
workflow_dispatch:
inputs:
redirect_file:
description: 'Redirect file to check'
required: true
type: string
default: '.github/scripts/polkadot_com_redirects'
schedule:
- cron: '0 14 * * 1' # Every Monday at 2pm UTC
jobs:
check-redirects:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run redirect checker
run: .github/scripts/find_redirect_404s.sh .netlify/_redirects