add hugo support

This commit is contained in:
2026-04-28 22:37:55 +02:00
parent 101ae8da40
commit 17df54fe4a
2 changed files with 21 additions and 0 deletions

View File

@@ -200,6 +200,25 @@
end
'';
};
blog_build_and_push = {
body =
# fish
''
set USER szymon
set HOST dmowski
set DIR /srv/blog/
set blog_dir ~/Dokumenty/blog
pushd $blog_dir || exit 1
hugo build && rsync -avz --delete public/ $USER@$HOST:$DIR
popd
exit 0
'';
};
};
shellAliases = {
ls = "eza --long --icons --group-directories-first --git";

View File

@@ -39,6 +39,8 @@ in
nh
runc
hugo
# Music
spotify