1 2 3 4 5 6 7 8 9
#!/bin/sh sitename="chausse.xyz" cd "$HOME/Workspace/$sitename" hugo --gc=true --minify rsync -auvz "$HOME/Workspace/$sitename/public/" "master@$sitename:/var/www/dev"