Browse Source

ci: switch to linkchecker (#302)

pull/303/head
Robert Kaussow 1 month ago committed by GitHub
parent
commit
1b4556dc0d
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

@ -324,14 +324,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

@ -482,12 +482,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
@ -630,6 +630,6 @@ depends_on:
---
kind: signature
hmac: 64f7c31f76924de9f0827e2afaca02a68643c6b48f8805c0f16ac147511c4805
hmac: b02a51b361ba9df7a15bef3e4b05011a294573778ea2ffc0ad6886c54d98a2fc
...

1
.gitignore vendored

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

0
.linkcheckignore

Loading…
Cancel
Save