summaryrefslogtreecommitdiff
path: root/deploy_static
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2019-10-08 09:03:08 -0400
committerDaniel Micay <danielmicay@gmail.com>2019-10-08 09:04:09 -0400
commitcfb7c42fbbf6d3d904782658850a9120ee22ab95 (patch)
tree05252d056f9b7036560dea8419225b9c4abc5e9c /deploy_static
parent14f848639ebca10a6abd1769b307fc1f25bf2dd3 (diff)
validate before making a connection
Diffstat (limited to 'deploy_static')
-rwxr-xr-xdeploy_static6
1 files 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