mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-26 16:11:44 +00:00
Add separate daily check for broken links
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
18
.github/workflows/mkdocs-build-sanity-check.yml
vendored
18
.github/workflows/mkdocs-build-sanity-check.yml
vendored
@@ -25,20 +25,4 @@ jobs:
|
||||
run: python3 -m pip install mkdocs-material
|
||||
|
||||
- name: Test mkdocs builds
|
||||
run: python3 -m mkdocs build
|
||||
|
||||
- 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
|
||||
run: python3 -m mkdocs build
|
||||
Reference in New Issue
Block a user