techWebsite/justfile

11 lines
324 B
Makefile

preview:
hugo serve --buildDrafts --buildExpired --buildFuture --navigateToChanged
USER:='root'
HOST:='gabevenberg.com'
DIR:='/var/www/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