Browse Source

ci: switch to linkchecker (#311)

pull/310/head
Robert Kaussow 1 month ago committed by GitHub
parent
commit
13a0f35cd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .drone.jsonnet
  2. 6
      .drone.yml
  3. 1
      .gitignore
  4. 0
      .linkcheckignore

4
.drone.jsonnet

@ -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',

6
.drone.yml

@ -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

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

0
.linkcheckignore

Loading…
Cancel
Save