diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -26,17 +26,7 @@ shellHook = '' SITE="$HOME/projects/tdback.net" - new-post() { - hugo new "$SITE/content/posts/$1/index.md" - $EDITOR "$SITE/content/posts/$1/index.md" - } - - del-post() { - POST="$SITE/content/posts/$1" - [ -d $POST ] && rm -r $POST - } - - deploy() { + publish() { hugo && rsync -avz --delete public/ thor:/var/www/tdback.net/ } ''; |