Skip to content

Commit 798200e

Browse files
committed
Use linkspector
1 parent ad38b7d commit 798200e

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

Diff for: .github/linkspector-config.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
dirs:
2+
- ./content/news
3+
aliveStatusCodes:
4+
- 200
5+
- 201
6+
- 204
7+
useGitIgnore: true
8+

Diff for: .github/workflows/ci.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ jobs:
2222
args: '.'
2323
config: '.markdownlint.json'
2424
- name: Check for dead links
25-
uses: gaurav-nelson/github-action-markdown-link-check@v1
25+
run:
26+
| npm install -g @umbrelladocs/linkspector
27+
| linkspector
28+
| linkspector check -c .github/linkspector-config.yml
2629
- name: Install Zola
2730
run: curl -L ${BASE_URL}/${VERS}/zola-${VERS}-${ARCH}.tar.gz | tar -xz
2831
- run: ./zola --version

0 commit comments

Comments
 (0)