aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTixie <contact@tixie.name>2024-06-09 17:27:41 +0200
committerTixie <contact@tixie.name>2024-06-09 17:33:42 +0200
commita2edf9bde51fee49a3870e9899678a50ff965dd0 (patch)
treead541268ea02c1516aaf29891ade6c0e6e3159a9
parent66bb48aaa70c34d57b30e8ea1ea37fb4599db0f1 (diff)
downloadsite-a2edf9bde51fee49a3870e9899678a50ff965dd0.tar.gz
site-a2edf9bde51fee49a3870e9899678a50ff965dd0.zip
CI(tidy-html): ignore empty tag, generating warning
-rw-r--r--.woodpecker.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.woodpecker.yaml b/.woodpecker.yaml
index 76c1c0e..1a962d9 100644
--- a/.woodpecker.yaml
+++ b/.woodpecker.yaml
@@ -9,7 +9,7 @@ steps:
- wget -q https://github.com/htacg/tidy-html5/releases/download/5.8.0/tidy-5.8.0-Linux-64bit.deb
- echo "59e594312207234f5a17455683c13c6bc47a89cb7bf994d493acfffb591d9830 tidy-5.8.0-Linux-64bit.deb" | sha256sum -c
- DEBIAN_FRONTEND=noninteractive apt install -qq -y ./tidy-5.8.0-Linux-64bit.deb
- - tidy -q -e static/index.html
+ - tidy -q -e --drop-empty-elements no static/index.html
- name: disable SEO indexing (on preprod only)
when: