added some flake templates.
This commit is contained in:
parent
9068858ee4
commit
fac5efd7b2
17 changed files with 448 additions and 0 deletions
10
templates/hugo/justfile
Normal file
10
templates/hugo/justfile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue