From 4eb4f5086f56a4837ed2923304300e0872c69cba Mon Sep 17 00:00:00 2001 From: Huabing Zhou Date: Thu, 5 Jan 2023 11:25:40 +0800 Subject: [PATCH] sg -> ot --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index bcb0bbc..4bd37fa 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash hugo --minify cd public; tar czf x * -scp x sg:/tmp/ -ssh sg "sudo rm -rf /var/www/html/rustdesk.com/docs/* && sudo tar xzf /tmp/x -C /var/www/html/rustdesk.com/docs/ && /bin/rm /tmp/x && sudo chown www-data:www-data /var/www/html/rustdesk.com/docs/ -R" +scp x ot:/tmp/ +ssh ot "sudo rm -rf /var/www/html/rustdesk.com/docs/* && sudo tar xzf /tmp/x -C /var/www/html/rustdesk.com/docs/ && /bin/rm /tmp/x && sudo chown www-data:www-data /var/www/html/rustdesk.com/docs/ -R" /bin/rm x cd -