We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bc8c6f commit 66f0331Copy full SHA for 66f0331
.github/workflows/check-broken-links.yml
@@ -0,0 +1,35 @@
1
+name: Check Broken Links
2
+
3
+on:
4
+ pull_request:
5
+ paths:
6
+ - 'docs/**'
7
+ - '.github/workflows/check-broken-links.yml'
8
+ push:
9
+ branches:
10
+ - main
11
12
13
14
+ workflow_dispatch:
15
16
+jobs:
17
+ check-links:
18
+ runs-on: ubuntu-latest
19
+ name: Check for broken links in documentation
20
21
+ steps:
22
+ - name: Checkout repository
23
+ uses: actions/checkout@v4
24
25
+ - name: Setup Node.js
26
+ uses: actions/setup-node@v4
27
+ with:
28
+ node-version: '20'
29
30
+ - name: Install Mintlify CLI
31
+ run: npm install -g mintlify
32
33
+ - name: Check for broken links
34
+ working-directory: ./docs
35
+ run: mintlify broken-links
0 commit comments