From dc5487b9179c3c34bdb503612f1c99e52ac8a483 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sat, 13 Mar 2021 09:57:06 -0500 Subject: [PATCH] fixing deploy script. --- deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 71eff2c..2038307 100755 --- a/deploy.sh +++ b/deploy.sh @@ -3,4 +3,5 @@ git submodule update --remote git add lemmy-docs git commit -m"Updating docs" git push -ssh tyler@5.196.14.162 'cd ~/joinlemmy-site && git pull --recurse-submodules && bash -l build.sh' +rsync --rsync-path="sudo rsync" -chavzP /var/www/joinlemmy --stats tyler@lemmy.ml:/var/www/ +ssh tyler@lemmy.ml 'sudo systemctl reload nginx'