Skip to content

Check for Broken Links #426

Check for Broken Links

Check for Broken Links #426

Workflow file for this run

name: Check for broken links
on: deployment_status
jobs:
linkinator:
runs-on: ubuntu-latest
if: ${{ startsWith(github.event.deployment_status.environment_url, 'https://documentation') && github.event.deployment_status.state == 'success' }}
steps:
- name: Run linkinator against deployment preview URL
run: npx --yes linkinator ${{ github.event.deployment_status.environment_url}} -r