summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2019-08-07 16:55:51 -0400
committerDaniel Micay <danielmicay@gmail.com>2019-08-07 18:07:19 -0400
commitd77684cd3fa028fa66f00523708188f9b239b814 (patch)
tree667b987eef3d34fda7cee5b61e144a7f868877d3
parent6fbf8311af44e05691fa64d7b57f715f76a296e0 (diff)
perform HTML validation before deployment
-rwxr-xr-xdeploy_static2
1 files changed, 2 insertions, 0 deletions
diff --git a/deploy_static b/deploy_static
index 0e158c3d..431cb4b5 100755
--- a/deploy_static
+++ b/deploy_static
@@ -5,6 +5,8 @@ set -o errexit
remote=www-data@grapheneos.org
active=$(ssh $remote readlink html)
+validatornu --Werror --skip-non-html static
+
if [[ $active = html_a ]]; then
target=html_b
else