1
0
Fork 0

Add rsync publish command

This commit is contained in:
Tim Van Baak 2023-09-11 20:07:12 -07:00
parent 0c0fc21a1b
commit 15a6a98ce0
2 changed files with 8 additions and 1 deletions

View File

@ -8,3 +8,6 @@ watch:
serve: serve:
python -m http.server --directory out/ python -m http.server --directory out/
publish:
rsync -av out/* ssh.alogoulogoi.com:/srv/www.alogoulogoi.com

View File

@ -11,7 +11,11 @@
in { in {
devShells.${system} = { devShells.${system} = {
default = pkgs.mkShell { default = pkgs.mkShell {
packages = [ pyenv pkgs.entr ]; packages = [
pyenv
pkgs.entr
pkgs.rsync
];
}; };
}; };
}; };