Skip to content

Commit 334aaa4

Browse files
authored
Merge pull request #20906 from unoplatform/dev/skha/automate-links-validation
ci: testing lycheeverse tool to automate links validation
2 parents 05d3f44 + 0405f2d commit 334aaa4

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Check Links
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
link-check:
8+
runs-on: ubuntu-latest
9+
name: Check Docs links
10+
steps:
11+
- name: Checkout Code
12+
uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
submodules: recursive
16+
17+
- name: Import External Doc
18+
run: pwsh ./doc/import_external_docs.ps1
19+
20+
- name: Move external inside Doc dir
21+
run : mv ./articles/external ./doc/articles/
22+
23+
- name: Move Hot Design doc inside Doc dir
24+
run: mv "./articles/studio/Hot Design" ./doc/articles/studio
25+
26+
- name: Check links
27+
uses: lycheeverse/lychee-action@v2.4.1
28+
with:
29+
fail: false
30+
args: >
31+
--verbose
32+
--no-progress
33+
--accept 200..=204,429
34+
./doc/**/*.md
35+

0 commit comments

Comments
 (0)