aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2023-11-07 12:25:14 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2023-11-07 12:34:59 +0000
commit6ed053a4ce491495b1dda7106f22bb1949c70ebc (patch)
tree0d167a8ba6157a6ea1ad159e32aa17caf5a977a9 /.gitlab-ci.yml
parente435329ab4374d08cb0169b35a9c3346acb5e7d8 (diff)
downloadtorspec-6ed053a4ce491495b1dda7106f22bb1949c70ebc.tar.gz
torspec-6ed053a4ce491495b1dda7106f22bb1949c70ebc.zip
CI: check that there are no broken links
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f01e598..fb587b7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,6 +14,17 @@ build:
paths:
- public
+link-check:
+ image: rust:bookworm
+ script:
+ - cargo install mdbook
+ - apt-get update && apt-get install -y git python3 python3-yaml linklint
+ - ./bin/build_html
+ - ./bin/check_links
+ artifacts:
+ paths:
+ - html.link-check
+
include:
project: tpo/tpa/ci-templates
file: