ci: switch to linkchecker (#311)

This commit is contained in:
Robert Kaussow 2022-05-20 16:25:12 +02:00 committed by GitHub
parent a942d85542
commit 13a0f35cd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 5 deletions

View File

@ -343,14 +343,14 @@ local PipelineDocs = {
name: 'testbuild',
image: 'thegeeklab/hugo:0.97.3',
commands: [
'hugo --panicOnWarning -s docs/ -b http://localhost/',
'hugo --panicOnWarning -s docs/ -b http://localhost:8000/',
],
},
{
name: 'link-validation',
image: 'thegeeklab/link-validator',
commands: [
'link-validator -ro',
'link-validator --nice --external --skip-file .linkcheckignore',
],
environment: {
LINK_VALIDATOR_BASE_DIR: 'docs/public',

View File

@ -501,12 +501,12 @@ steps:
- name: testbuild
image: thegeeklab/hugo:0.97.3
commands:
- hugo --panicOnWarning -s docs/ -b http://localhost/
- hugo --panicOnWarning -s docs/ -b http://localhost:8000/
- name: link-validation
image: thegeeklab/link-validator
commands:
- link-validator -ro
- link-validator --nice --external --skip-file .linkcheckignore
environment:
LINK_VALIDATOR_BASE_DIR: docs/public
@ -649,6 +649,6 @@ depends_on:
---
kind: signature
hmac: 6b4b88531247b774d34061a80db83fcef0c51e75a4555d5f1b0621dd73940363
hmac: ef80b1da46ce2d43b50ed1f00c19ff0fc549289d127dcc45270e88e15e84de6b
...

1
.gitignore vendored
View File

@ -106,6 +106,7 @@ pip-wheel-metadata
docs/themes/
docs/public/
resources/_gen/
.hugo_build.lock
# Misc
.dockertidy*

0
.linkcheckignore Normal file
View File