Browse Source

ci: switch to linkchecker (#26)

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

4
.drone.jsonnet

@ -46,14 +46,14 @@ local PipelineDocs = {
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',

6
.drone.yml

@ -37,12 +37,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
@ -87,6 +87,6 @@ trigger:
---
kind: signature
hmac: daefbd7df338b4ad5e69f10a57672d93acc992468ab407694b241ba7c810c184
hmac: 21b711c2a7408288c869215d702e496ec5d887e7e817d23d12d21990f30a18d3
...

21
.gitignore vendored

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

0
.linkcheckignore

Loading…
Cancel
Save