Skip to content

Commit 5b6d42b

Browse files
committed
Fix lychee link checker for root-relative paths
1 parent 06c375d commit 5b6d42b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ jobs:
2828

2929
- name: Check for links error
3030
run: |
31-
docker run --rm -t -v $(pwd):/src -w /src lycheeverse/lychee:latest --exclude "(github|gitlab|www.linkedin).com" -n -v html_site/**/*.html
31+
docker run --rm -t -v $(pwd):/src -w /src lycheeverse/lychee:latest \
32+
--base html_site \
33+
--exclude "(github|gitlab|www.linkedin).com" \
34+
--exclude "^javascript:" \
35+
-n -v html_site/**/*.html
3236
3337
- name: Configure Git
3438
run: |

0 commit comments

Comments
 (0)