NB: Hugo and Rsync Fast Upload
Original idea here https://robot.unipv.it/toolleeo/2021/09/using-rsync-to-update-a-remote-hugo-website/, a bit modification (add parallel) - from here https://stackoverflow.com/questions/24058544/speed-up-rsync-with-simultaneous-concurrent-file-transfers.
#!/bin/bash
#~ https://robot.unipv.it/toolleeo/2021/09/using-rsync-to-update-a-remote-hugo-website/
BASEPATH=/srv/sites/ru.site
hugo --minify
ls -1 $BASEPATH/public | parallel -v -j4 rsync -r --delete --checksum $BASEPATH/public/{} $BASEPATH/upload/
rsync -avz --delete $BASEPATH/upload/ site.ru:/srv/htdocs/ru.site/