diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2019-10-08 09:03:08 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2019-10-08 09:04:09 -0400 |
| commit | cfb7c42fbbf6d3d904782658850a9120ee22ab95 (patch) | |
| tree | 05252d056f9b7036560dea8419225b9c4abc5e9c | |
| parent | 14f848639ebca10a6abd1769b307fc1f25bf2dd3 (diff) | |
validate before making a connection
| -rwxr-xr-x | deploy_static | 6 |
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 |
