This commit is contained in:
rustdesk 2025-08-06 19:42:29 +08:00
parent df0f1ed67e
commit 9ed739aca3

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
hugo --minify
rm -rf public/*
hugo --minify
cd public; tar czf x *
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"