diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-11-25 20:21:12 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-11-25 20:21:12 -0500 |
| commit | c7ffdaed6c7dcf6fa5e97c6e3f5a0055381288ce (patch) | |
| tree | 7ac208216df227e17ecaca7956dbc351a826bdd4 | |
| parent | d7186e9a1286558bc0c0b93f8dbd455a0d22d210 (diff) | |
add gixy support to process-static workflow
| -rwxr-xr-x | process-static | 5 | ||||
| -rw-r--r-- | requirements.txt | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/process-static b/process-static index c4fd4d73..ac809e0d 100755 --- a/process-static +++ b/process-static @@ -43,10 +43,7 @@ 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 +gixy nginx-tmp/nginx.conf xmllint --noout static-tmp/**/*.html validatornu --Werror --also-check-css --also-check-svg static-tmp/**/!(bimi).@(css|html|svg) diff --git a/requirements.txt b/requirements.txt index e87585d0..3ee6747f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,4 @@ lxml cssselect +gixy==0.1.20 +pyparsing==2.4.7 |
