Skip to content

Add link checker workflow #1

Add link checker workflow

Add link checker workflow #1

Workflow file for this run

name: Link Checker (Fail Fast)
on:
push:
branches: [ main ]
pull_request:
jobs:
preview:
name: Preview Deploy
runs-on: ubuntu-latest
outputs:
preview_url: ${{ steps.waitForVercelPreviewDeployment.outputs.url }}
steps:
- name: Wait for Vercel preview deployment to be ready
uses: patrickedqvist/[email protected]
id: waitForVercelPreviewDeployment
with:
token: ${{ secrets.GITHUB_TOKEN }}
check_interval: 30
max_timeout: 600
link_checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Link Checker
uses: lycheeverse/[email protected]
with:
fail: true
args: --verbose --no-progress --exclude '^https://github.com/.*.mdx' ${{ needs.preview.outputs.preview_url }}