openpgp-notes/.woodpecker/links.yml
David Runge 4d93cafcc1
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>
2023-10-26 13:08:54 +02:00

23 lines
504 B
YAML

# 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