Skip to content

Broken Link Checker

Broken Link Checker #4

Workflow file for this run

name: Links
on:
push:
branches:
- main
- kc/link-checker
pull_request:
branches:
- main
schedule:
- cron: "00 18 * * *" # This will run the check daily at 18:00 UTC
jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Lychee Link Checker
uses: lycheeverse/lychee-action@v1
with:
args: --base . --verbose --no-progress './apps/nextra/**/*.mdx' './apps/nextra/**/*.html'
format: markdown
output: lychee/out.md
fail: true # Ensure the workflow fails on broken links