2022-04-11 22:43:47 +02:00
|
|
|
#!/usr/bin/env bash
|
2022-04-11 23:01:29 +02:00
|
|
|
hugo --minify
|
2022-04-11 22:43:47 +02:00
|
|
|
cd public; tar czf x *
|
2023-01-05 04:25:40 +01:00
|
|
|
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"
|
2022-04-11 22:43:47 +02:00
|
|
|
/bin/rm x
|
|
|
|
cd -
|