mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2025-08-17 16:35:40 +00:00
remove public first to avoid old htmls
This commit is contained in:
parent
0ff49457de
commit
442147c675
@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
hugo --minify
|
||||
rm -rf public/*
|
||||
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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user