DIR=$(mktemp -d)
git clone https://github.com/adamhammes/hammes.io $DIR
cd $DIR
hugo --destination /home/adam/site
rm -rf $DIR

hugo --destination /home/adam/site

Use local copy of repo for building
Use local copy of repo for building
