mirror of
https://codeberg.org/openpgp/notes.git
synced 2024-11-29 19:12:06 +01:00
ci: Add steps to test for broken links using lychee
Call the new `html-linkcheck` target to fail on broken links. Signed-off-by: David Runge <dave@sleepmap.de>
This commit is contained in:
parent
6aeaa0d35d
commit
4d93cafcc1
1 changed files with 23 additions and 0 deletions
23
.woodpecker/links.yml
Normal file
23
.woodpecker/links.yml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# SPDX-FileCopyrightText: 2023 The "Notes on OpenPGP" project
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: woodpeckerci/plugin-git
|
||||||
|
settings:
|
||||||
|
partial: true
|
||||||
|
lfs: false
|
||||||
|
|
||||||
|
when:
|
||||||
|
branch: draft
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
- pull_request
|
||||||
|
|
||||||
|
steps:
|
||||||
|
link-check:
|
||||||
|
image: archlinux:latest
|
||||||
|
commands:
|
||||||
|
- pacman -Sy --needed --noconfirm archlinux-keyring
|
||||||
|
- pacman -Syu --needed --noconfirm lychee make python-myst-parser python-sphinx
|
||||||
|
- make -C book html-linkcheck
|
Loading…
Reference in a new issue