From 15a6a98ce0afd65abe93b453ed86c6d339696a2b Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Mon, 11 Sep 2023 20:07:12 -0700 Subject: [PATCH] Add rsync publish command --- Makefile | 3 +++ flake.nix | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a02ee46..4912282 100644 --- a/Makefile +++ b/Makefile @@ -8,3 +8,6 @@ watch: serve: python -m http.server --directory out/ + +publish: + rsync -av out/* ssh.alogoulogoi.com:/srv/www.alogoulogoi.com \ No newline at end of file diff --git a/flake.nix b/flake.nix index 887f656..92c7a6a 100644 --- a/flake.nix +++ b/flake.nix @@ -11,7 +11,11 @@ in { devShells.${system} = { default = pkgs.mkShell { - packages = [ pyenv pkgs.entr ]; + packages = [ + pyenv + pkgs.entr + pkgs.rsync + ]; }; }; };