clean then push

This commit is contained in:
rustdesk 2022-05-12 21:10:05 +08:00
parent db345a5f11
commit 3c478f840b

View File

@ -2,6 +2,6 @@
hugo --minify
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"
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"
/bin/rm x
cd -