mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2024-12-27 09:29:18 +01:00
7 lines
224 B
Bash
7 lines
224 B
Bash
|
#!/usr/bin/env bash
|
||
|
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"
|
||
|
/bin/rm x
|
||
|
cd -
|