Skip to content

Commit

Permalink
added a link-check ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Gmin2 committed Feb 8, 2024
1 parent 5626a2f commit 94cbe48
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Link Checker

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:

jobs:
linkinator:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Validate Links in Markdown Files
uses: JustinBeckwith/linkinator-action@v1
with:
paths: "pages/blog/posts/**/*.md"
markdown: true
retry: true

0 comments on commit 94cbe48

Please sign in to comment.