Test htmlproofer

This commit is contained in:
lostinlight 2022-02-07 22:22:40 +03:00
parent 5451167164
commit 0b375b4472
1 changed files with 10 additions and 0 deletions

View File

@ -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 ]