added some flake templates.

This commit is contained in:
Gabe Venberg 2024-05-22 15:07:45 -05:00
parent 9068858ee4
commit fac5efd7b2
17 changed files with 448 additions and 0 deletions

10
templates/hugo/justfile Normal file
View file

@ -0,0 +1,10 @@
preview:
hugo serve --buildDrafts --buildExpired --buildFuture --navigateToChanged
USER:='root'
HOST:='1.1.1.1'
DIR:='/srv/folder'
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