Build remove the public folder run hugo upload the public folder On Linux, rm -rf public && hugo && scp -r ./public/ $WEBUSER@$WEBHOST:webseiten/.