preview: hugo serve --buildDrafts --buildExpired --buildFuture --navigateToChanged USER:='root' HOST:='gabevenberg.com' DIR:='/var/www/gabevenberg.com' DRAFTDIR:='/var/www/draft.gabevenberg.com' deploy: hugo --minify rsync -rvz --delete public/ {{USER}}@{{HOST}}:{{DIR}} # this will delete everything on the server that's not in the local public folder deploy-preview: hugo --minify --buildDrafts --buildFuture rsync -rvz --delete public/ {{USER}}@{{HOST}}:{{DRAFTDIR}} # this will delete everything on the server that's not in the local public folder