Skip to content

Commit a95786d

Browse files
committed
fix: lychee action
1 parent 84f9ab7 commit a95786d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/links.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ jobs:
3030
JEKYLL_ENV: production
3131

3232
- name: Link Checker
33-
uses: lycheeverse/[email protected]
33+
id: lychee
34+
uses: lycheeverse/lychee-action@v2
3435
with:
35-
args: --verbose --no-progress --exclude-file .lycheeignore -- _site/**/*.html
36+
args: --base _site/ --verbose --no-progress --exclude-file .lycheeignore -- _site/**/*.html
3637
fail: true
37-
env:
38-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
3938

40-
# - name: Create Issue From File
41-
# uses: peter-evans/create-issue-from-file@v2
42-
# with:
43-
# title: Link Checker Report
44-
# content-filepath: ./lychee/out.md
45-
# labels: report, automated issue
39+
# - name: Create Issue From File
40+
# if: steps.lychee.outputs.exit_code != 0
41+
# uses: peter-evans/create-issue-from-file@v5
42+
# with:
43+
# title: Link Checker Report
44+
# content-filepath: ./lychee/out.md
45+
# labels: report, automated issue

0 commit comments

Comments
 (0)