Skip to content

Check for Broken Links #434

Check for Broken Links

Check for Broken Links #434

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, 'preview') && github.event.deployment_status.state == 'success' }}
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Run dead-link-checker
run: npx @jthrilly/dead-link-checker ${{ github.event.deployment_status.environment_url }} -v --yes