Skip to content

Commit b18e8bf

Browse files
authored
Add: lychee action to check links
2 parents 2a2320a + 3ab4522 commit b18e8bf

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/build-site.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ jobs:
5353
path: tmp/.htmlproofer
5454
key: ${{ runner.os }}-htmlproofer
5555

56+
- name: Check links with lychee
57+
id: lychee
58+
uses: lycheeverse/lychee-action@v1.9.0
59+
with:
60+
args: --verbose --no-progress _site/**/*.html
61+
env:
62+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
63+
5664
- name: Run htmlproofer
5765
run: |
5866
ruby scripts/htmlproofer.rb

.lycheeignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
https://github.com/*
2+
https://fonts.googleapis.com/*
3+
https://fonts.gstatic.com/*
4+
https://www.linkedin.com/*
5+
https://www.youtube-nocookie.com/*
6+
https://t.co/*

0 commit comments

Comments
 (0)