Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 94cbe48

Browse files
committedFeb 8, 2024·
added a link-check ci
1 parent 5626a2f commit 94cbe48

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
 

‎.github/workflows/link-check.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Link Checker
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
types: [opened, synchronize, reopened]
9+
workflow_dispatch:
10+
11+
jobs:
12+
linkinator:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout Repository
16+
uses: actions/checkout@v2
17+
18+
- name: Validate Links in Markdown Files
19+
uses: JustinBeckwith/linkinator-action@v1
20+
with:
21+
paths: "pages/blog/posts/**/*.md"
22+
markdown: true
23+
retry: true

0 commit comments

Comments
 (0)