From 7cdaa8b30fcd8ab333d11719dc4b280b28347a71 Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Sat, 8 Oct 2022 18:40:34 -0700 Subject: set up PHP --- updatesite.command | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'updatesite.command') diff --git a/updatesite.command b/updatesite.command index 720b565..7b6ff9f 100755 --- a/updatesite.command +++ b/updatesite.command @@ -1,9 +1,9 @@ +rsync -avzP --rsh=ssh ~/Web/aetherdestroyer root@covalent.aetherdestroyer.net:/var/www/ + if [ $# -eq 0 ]; then exit 0 fi - -rsync -avzP --rsh=ssh ~/Web/aetherdestroyer root@aetherdestroyer.net:/var/www/ git add . git commit -m "$1" git push -- cgit v1.2.3-70-g09d2