Skip to content

Commit 2f8701a

Browse files
committed
update lychee
1 parent db3c6a1 commit 2f8701a

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

.github/workflows/lychee.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ jobs:
4242
id: lychee
4343
with:
4444
token: "${{ secrets.GITHUB_TOKEN }}"
45-
args: --no-progress --root-dir _site --exclude https://fonts.gstatic.com/ --exclude https://fonts.googleapis.com/ '_site'
4645
output: "${{ env.LYCHEE_OUTPUT }}"
47-
debug: true
46+
lycheeVersion: v0.24.1
47+
fail: false
48+
debug: false
4849

4950
- name: Find Link Checker Issue
5051
id: find-issue

lychee.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
root_dir = "_site"
2+
3+
# When links are available using HTTPS, treat HTTP links as errors.
4+
require_https = true
5+
6+
# Exclude URLs and mail addresses from checking (supports regex).
7+
exclude = [
8+
'^https://web\.archive\.org/web/',
9+
'^https://fonts\.gstatic\.com/',
10+
'^https://fonts\.googleapis\.com',
11+
'https://www.deviantart.com/lanotdesign/art/homeless-characters-154275235',
12+
'https://www.linkedin.com/in/stephentiu/',
13+
'https://www.npmjs.com/~halkeye',
14+
]

0 commit comments

Comments
 (0)