This commit is contained in:
rustdesk 2022-04-12 05:01:29 +08:00
parent f503f3902d
commit 8e3948342d

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash
hugo --minify
cd public; tar czf x *
scp x sg:/tmp/
ssh sg "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"