diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-11-25 18:41:04 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-11-25 18:46:11 -0500 |
| commit | c20907189e0f5130b7fbb66b63ce84b3cc2c2cee (patch) | |
| tree | 89dd47118f2cf44fadaee8442bb76de41ad7c36f /process-static | |
| parent | 71c26f59eb12b1cdac95f5fb9f95be6ce1b28e18 (diff) | |
integrate gixy into process-static
Diffstat (limited to 'process-static')
| -rwxr-xr-x | process-static | 5 |
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 \ |
