0
0
mirror of https://github.com/thegeeklab/woodpecker-plugins.git synced 2024-11-21 23:10:40 +00:00

ci: switch to linkchecker (#26)

This commit is contained in:
Robert Kaussow 2022-05-20 15:19:27 +02:00 committed by GitHub
parent fa79b8a542
commit 53a0ad214c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 9 deletions

View File

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

View File

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

@ -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 Normal file
View File