Skip to content

Commit 1b9d1e9

Browse files
committed
Use lychee action instead
1 parent cdb3340 commit 1b9d1e9

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/link-check.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,9 @@ jobs:
4343
run: |
4444
hugo --minify
4545
46-
- name: Install lychee
47-
run: |
48-
sudo apt-get update
49-
sudo apt-get install -y curl
50-
curl -sSfL https://raw.githubusercontent.com/lycheeverse/lychee/main/install.sh | bash
51-
52-
- name: Run lychee
53-
run: |
54-
./lychee --verbose --exclude "https://example.com" public
46+
- name: Link Checker
47+
id: lychee
48+
uses: lycheeverse/lychee-action@v2
49+
with:
50+
fail: false
51+
args: --verbose --exclude "https://example.com" public

0 commit comments

Comments
 (0)