diff --git a/.woodpecker.yml b/.woodpecker.yml index e6ca26b..d0b2073 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -14,6 +14,16 @@ pipeline: include: [ main ] event: [push, deployment] + htmlproofer: + image: olikami/htmlproofer:latest # fork of 18fgsa/html-proofer + commands: + - ( git show --no-patch --format=format:%B | grep htmlproofer >/dev/null ) && htmlproofer public/ --external-only --checks-to-ignore ScriptCheck,ImageCheck || true + when: + status: success + branch: + include: [ main ] + event: [push, deployment] + deploy: image: alpine secrets: [ deploy_key ]