diff --git a/deploy.sh b/deploy.sh index 190ec76..dcaf3b1 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +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"