summaryrefslogtreecommitdiff
path: root/process-static
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2021-11-25 18:41:04 -0500
committerDaniel Micay <danielmicay@gmail.com>2021-11-25 18:46:11 -0500
commitc20907189e0f5130b7fbb66b63ce84b3cc2c2cee (patch)
tree89dd47118f2cf44fadaee8442bb76de41ad7c36f /process-static
parent71c26f59eb12b1cdac95f5fb9f95be6ce1b28e18 (diff)
integrate gixy into process-static
Diffstat (limited to 'process-static')
-rwxr-xr-xprocess-static5
1 files changed, 5 insertions, 0 deletions
diff --git a/process-static b/process-static
index e5956bdb..c4fd4d73 100755
--- a/process-static
+++ b/process-static
@@ -43,6 +43,11 @@ done
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
validatornu --Werror --also-check-css --also-check-svg static-tmp/**/!(bimi).@(css|html|svg)
find static-tmp -name '*.html' -exec html-minifier --collapse-whitespace \