From 8c9b3a6ff0822993cff50b0de920b8b0b32dc684 Mon Sep 17 00:00:00 2001 From: Subnet_Masked Date: Wed, 1 Nov 2023 22:21:25 -0400 Subject: [PATCH] Better deploy script --- deploy.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 34f4529..2119c25 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,4 +1,5 @@ #!/bin/bash mkdocs build -ssh -t cody@mcserver.u15i.net "rm -rf mc-website/*" -scp -r ./site/* cody@mcserver.u15i.net:/home/cody/mc-website/ +#ssh -t cody@mcserver.u15i.net "rm -rf mc-website/*" +#scp -r ./site/* cody@mcserver.u15i.net:/home/cody/mc-website/ +rsync -rzP --delete ./site/ cody@mcserver.u15i.net:/home/cody/mc-website/ \ No newline at end of file