ci: switch to linkchecker (#57)
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2022-05-20 15:12:50 +02:00
parent 16a61264e5
commit d01133b04e
3 changed files with 20 additions and 8 deletions

View File

@ -34,12 +34,12 @@ steps:
- name: testbuild
image: thegeeklab/hugo:0.97.3
commands:
- hugo --panicOnWarning -b http://localhost/
- hugo --panicOnWarning -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: public
@ -84,6 +84,6 @@ trigger:
---
kind: signature
hmac: 581c348d7f9cfe721ad007f370940f27cb72d6b56d259b133b7c62d31c72a23a
hmac: 2f47b780a063473f8ecdbdd23e204eb5d2262e4b7fa957ffc3534fbce3968d33
...

22
.gitignore vendored
View File

@ -1,5 +1,17 @@
public/
resources/_gen/
themes/
content/roles/*/**/
content/collections/
# local environments
.swp
.env*
/dist/
/build/
/node_modules/
# auto-generated files
/themes/
/public/
/static/
/resources/
/content/roles/*/**/
/content/collections/
# hugo
.hugo_build.lock

0
.linkcheckignore Normal file
View File