perform HTML validation before deployment
This commit is contained in:
parent
6fbf8311af
commit
d77684cd3f
@ -5,6 +5,8 @@ set -o errexit
|
|||||||
remote=www-data@grapheneos.org
|
remote=www-data@grapheneos.org
|
||||||
active=$(ssh $remote readlink html)
|
active=$(ssh $remote readlink html)
|
||||||
|
|
||||||
|
validatornu --Werror --skip-non-html static
|
||||||
|
|
||||||
if [[ $active = html_a ]]; then
|
if [[ $active = html_a ]]; then
|
||||||
target=html_b
|
target=html_b
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user