-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (39 loc) · 1003 Bytes
/
docs.yml
File metadata and controls
43 lines (39 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Docs
on:
push:
branches: [main]
paths:
- "docs/**"
- "workspace/**"
- "README.md"
- "CLAUDE.md"
pull_request:
paths:
- "docs/**"
- "workspace/**"
- "README.md"
- "CLAUDE.md"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
gitbook-links:
name: GitBook broken links
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: lycheeverse/lychee-action@v2
with:
args: "--offline --root-dir docs/gitbook --no-progress 'docs/gitbook/**/*.md'"
fail: true
repo-links:
name: Repo docs broken links
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: lycheeverse/lychee-action@v2
with:
args: "--offline --no-progress 'docs/*.md' 'workspace/*.md' 'README.md' 'CLAUDE.md'"
fail: true