mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2024-11-15 04:44:18 +01:00
8 lines
287 B
Bash
Executable File
8 lines
287 B
Bash
Executable File
#!/usr/bin/env bash
|
|
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"
|
|
/bin/rm x
|
|
cd -
|