forked from extern/doc.rustdesk.com
sg -> ot
This commit is contained in:
parent
338f312004
commit
4eb4f5086f
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
hugo --minify
|
hugo --minify
|
||||||
cd public; tar czf x *
|
cd public; tar czf x *
|
||||||
scp x sg:/tmp/
|
scp x ot:/tmp/
|
||||||
ssh sg "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"
|
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
|
/bin/rm x
|
||||||
cd -
|
cd -
|
||||||
|
Loading…
Reference in New Issue
Block a user