From b66981925a1d5afebf9ce1b100b4345df9688050 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 27 Jul 2021 22:31:36 -0400 Subject: [PATCH] update symlink metadata sync call --- deploy-static | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-static b/deploy-static index 730f080..dc7ba3f 100755 --- a/deploy-static +++ b/deploy-static @@ -22,7 +22,7 @@ ssh $remote cp -a $active $target rsync -rpcv --chmod=D755,F644 --delete static_tmp/ $remote:$target ssh $remote sync -f $target ssh $remote ln -snf $target /srv/element.grapheneos.org -ssh $remote sync . +ssh $remote sync /srv/element.grapheneos.org sed -i "s|/srv/element.grapheneos.org|$target|" nginx.conf.tmp rsync -rpcv --chmod=D755,F644 --delete nginx.conf.tmp $remote:/etc/nginx/nginx.conf