From cfb7c42fbbf6d3d904782658850a9120ee22ab95 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 8 Oct 2019 09:03:08 -0400 Subject: [PATCH] validate before making a connection --- deploy_static | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy_static b/deploy_static index 10938f5e..5e2cd17b 100755 --- a/deploy_static +++ b/deploy_static @@ -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