validate before making a connection

This commit is contained in:
Daniel Micay 2019-10-08 09:03:08 -04:00
parent 14f848639e
commit cfb7c42fbb

View File

@ -2,13 +2,13 @@
set -o errexit
remote=www-data@grapheneos.org
active=$(ssh $remote readlink html)
validatornu --Werror --skip-non-html static
validatornu --Werror --skip-non-css static
validatornu --Werror --skip-non-svg --no-langdetect static
remote=www-data@grapheneos.org
active=$(ssh $remote readlink html)
if [[ $active = html_a ]]; then
target=html_b
else