validate before making a connection
This commit is contained in:
parent
14f848639e
commit
cfb7c42fbb
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
set -o errexit
|
set -o errexit
|
||||||
|
|
||||||
remote=www-data@grapheneos.org
|
|
||||||
active=$(ssh $remote readlink html)
|
|
||||||
|
|
||||||
validatornu --Werror --skip-non-html static
|
validatornu --Werror --skip-non-html static
|
||||||
validatornu --Werror --skip-non-css static
|
validatornu --Werror --skip-non-css static
|
||||||
validatornu --Werror --skip-non-svg --no-langdetect static
|
validatornu --Werror --skip-non-svg --no-langdetect static
|
||||||
|
|
||||||
|
remote=www-data@grapheneos.org
|
||||||
|
active=$(ssh $remote readlink html)
|
||||||
|
|
||||||
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