mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-13 01:36:23 +00:00
Try adding lychee to sanity check
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
21
.github/workflows/mkdocs-build-sanity-check.yml
vendored
21
.github/workflows/mkdocs-build-sanity-check.yml
vendored
@@ -26,9 +26,18 @@ jobs:
|
|||||||
- name: Test mkdocs builds
|
- name: Test mkdocs builds
|
||||||
run: python3 -m mkdocs build
|
run: python3 -m mkdocs build
|
||||||
|
|
||||||
# - name: Check for broken links
|
- name: Link Checker
|
||||||
# uses: lycheeverse/lychee-action@v1.0.9
|
id: lychee
|
||||||
# with:
|
uses: lycheeverse/lychee-action@v1
|
||||||
# args: --verbose --no-progress site/**/*.html
|
with:
|
||||||
# env:
|
args: --verbose --no-progress site/**/*.html
|
||||||
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
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
|
||||||
Reference in New Issue
Block a user