Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/check-broken-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Check Broken Links

on:
pull_request:
paths:
- 'docs/**'
- '.github/workflows/check-broken-links.yml'
push:
branches:
- main
paths:
- 'docs/**'
- '.github/workflows/check-broken-links.yml'
workflow_dispatch:

jobs:
check-links:
runs-on: ubuntu-latest
name: Check for broken links in documentation

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install Mintlify CLI
run: npm install -g mintlify

- name: Check for broken links
working-directory: ./docs
run: mintlify broken-links