integrate gixy into process-static
This commit is contained in:
parent
71c26f59eb
commit
c20907189e
@ -43,6 +43,11 @@ done
|
|||||||
|
|
||||||
sed -i "$replace" static-tmp/**/*.html nginx-tmp/nginx.conf
|
sed -i "$replace" static-tmp/**/*.html nginx-tmp/nginx.conf
|
||||||
|
|
||||||
|
# temporarily disabled for GitHub Actions due to unresolved compatibility issue
|
||||||
|
if [[ ${GITHUB_ACTIONS:-false} != true ]]; then
|
||||||
|
gixy nginx-tmp/nginx.conf
|
||||||
|
fi
|
||||||
|
|
||||||
xmllint --noout static-tmp/**/*.html
|
xmllint --noout static-tmp/**/*.html
|
||||||
validatornu --Werror --also-check-css --also-check-svg static-tmp/**/!(bimi).@(css|html|svg)
|
validatornu --Werror --also-check-css --also-check-svg static-tmp/**/!(bimi).@(css|html|svg)
|
||||||
find static-tmp -name '*.html' -exec html-minifier --collapse-whitespace \
|
find static-tmp -name '*.html' -exec html-minifier --collapse-whitespace \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user