1
0
Fork 0
forked from Deuxfleurs/site

CI(tidy-html): ignore empty tag, generating warning

This commit is contained in:
Tixie Salander 2024-06-09 17:27:41 +02:00
parent 74c59d1dc0
commit ef8acfd788
No known key found for this signature in database

View file

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