mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 12:10:45 +02:00
add hugo support
This commit is contained in:
@@ -200,6 +200,25 @@
|
|||||||
end
|
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 = {
|
shellAliases = {
|
||||||
ls = "eza --long --icons --group-directories-first --git";
|
ls = "eza --long --icons --group-directories-first --git";
|
||||||
|
|||||||
@@ -39,6 +39,8 @@ in
|
|||||||
nh
|
nh
|
||||||
runc
|
runc
|
||||||
|
|
||||||
|
hugo
|
||||||
|
|
||||||
# Music
|
# Music
|
||||||
spotify
|
spotify
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user