Skip to content

Commit 62c2940

Browse files
committed
Add workflow to check for broken links.
1 parent 37f8552 commit 62c2940

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/check.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Check Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
tags-ignore:
8+
- '**'
9+
10+
jobs:
11+
check:
12+
name: Check Documentation
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
20+
21+
# This checks internal links, but does not validate external links
22+
- name: Check for broken links
23+
run: npx mintlify broken-links

0 commit comments

Comments
 (0)