Skip to content

Commit 404e18c

Browse files
committed
add docs checks
1 parent 19f4a3c commit 404e18c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/docs.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: 📚 Docs Checks
2+
3+
on:
4+
push:
5+
pull_request:
6+
paths:
7+
- "docs/**"
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
check-broken-links:
18+
runs-on: ubuntu-latest
19+
defaults:
20+
run:
21+
working-directory: ./docs
22+
steps:
23+
- name: 📥 Checkout repository
24+
uses: actions/checkout@v3
25+
26+
- name: 🔗 Check for broken links
27+
run: npx mintlify broken-links

0 commit comments

Comments
 (0)