2024-03-09 21:44:41 +01:00
|
|
|
preview:
|
|
|
|
hugo serve --buildDrafts --buildExpired --buildFuture --navigateToChanged
|
|
|
|
|
|
|
|
USER:='root'
|
2024-07-29 22:30:25 +02:00
|
|
|
HOST:='gabevenberg.com'
|
|
|
|
DIR:='/var/www/gabevenberg.com'
|
2024-03-09 21:44:41 +01:00
|
|
|
|
|
|
|
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
|