chore: update lychee gh workflow to use CLI tool directly
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
1 file changed
+21
-5
@@ -20,11 +20,27 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Scan for broken links
|
- name: Setup Homebrew
|
||||||
uses: lycheeverse/lychee-action@v1
|
uses: Homebrew/actions/setup-homebrew@master
|
||||||
with:
|
|
||||||
args: --verbose --no-progress --exclude-mail './**/*.md'
|
- name: Setup Workflow Tools
|
||||||
output: /tmp/results.md
|
shell: bash
|
||||||
|
run: brew install lychee
|
||||||
|
|
||||||
|
- name: Scan For Broken Links
|
||||||
|
shell: bash
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
run: |
|
||||||
|
lychee --verbose --no-progress \
|
||||||
|
--format markdown \
|
||||||
|
--output results.md \
|
||||||
|
--exclude-all-private \
|
||||||
|
--exclude-mail \
|
||||||
|
./**/*.md || true
|
||||||
|
|
||||||
|
- name: Print Output
|
||||||
|
run: cat results.md
|
||||||
|
|
||||||
- name: Find Link Checker Issue
|
- name: Find Link Checker Issue
|
||||||
id: find-issue
|
id: find-issue
|
||||||
|
|||||||
Reference in new issue
Block a user