1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-12 17:26:19 +00:00

Try adding lychee to sanity check

Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
David Young
2022-08-23 22:49:03 +12:00
parent f938589437
commit 3a347a904d

View File

@@ -26,9 +26,18 @@ jobs:
- name: Test mkdocs builds
run: python3 -m mkdocs build
# - name: Check for broken links
# uses: lycheeverse/lychee-action@v1.0.9
# with:
# args: --verbose --no-progress site/**/*.html
# env:
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1
with:
args: --verbose --no-progress site/**/*.html
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Create Issue From File
if: steps.lychee.outputs.exit_code != 0
uses: peter-evans/create-issue-from-file@v4
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue