Skip to content

Commit c911b7e

Browse files
Add link checker step to workflow
1 parent f795b50 commit c911b7e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ jobs:
2626
- name: Build Hugo site
2727
run: hugo --minify --destination html_site
2828

29+
- name: Check for links error
30+
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
32+
2933
- name: Configure Git
3034
run: |
3135
git config --global user.name 'GitHub Actions'

0 commit comments

Comments
 (0)