Skip to content

Commit

Permalink
specified the path
Browse files Browse the repository at this point in the history
  • Loading branch information
Gmin2 committed Feb 11, 2024
1 parent a9f2cfd commit 7607ac6
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
name: Check Links
name: check Links

on:
push:
paths:
- 'pages/blog/posts/**/*.md'

pull_request:
types: [opened, synchronize, reopened]
paths:
- 'pages/blog/posts/**/*.md'

jobs:
check-links:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: lycheeverse/lychee-action@v1
- name: Comment Broken Links
uses: marocchino/sticky-pull-request-comment@v2
- uses: actions/checkout@v3

- name: Link Checker
uses: lycheeverse/[email protected]
with:
path: lychee/out.md
fail: true
args: '--base . --verbose --no-progress pages/blog/posts/**/*.md'

0 comments on commit 7607ac6

Please sign in to comment.