diff options
author | Kai Stevenson <kai@kaistevenson.com> | 2022-10-08 18:40:34 -0700 |
---|---|---|
committer | Kai Stevenson <kai@kaistevenson.com> | 2022-10-08 18:40:34 -0700 |
commit | 7cdaa8b30fcd8ab333d11719dc4b280b28347a71 (patch) | |
tree | 60a9882f4e33535ad73101150d80a1daa1da03dc /updatesite.command | |
parent | 7c402bbaacfa6acd2d4a2184975ec83f5edde329 (diff) |
set up PHP
Diffstat (limited to 'updatesite.command')
-rwxr-xr-x | updatesite.command | 4 |
1 files changed, 2 insertions, 2 deletions
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 |