summaryrefslogtreecommitdiff
path: root/updatesite.command
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2022-10-08 18:40:34 -0700
committerKai Stevenson <kai@kaistevenson.com>2022-10-08 18:40:34 -0700
commit7cdaa8b30fcd8ab333d11719dc4b280b28347a71 (patch)
tree60a9882f4e33535ad73101150d80a1daa1da03dc /updatesite.command
parent7c402bbaacfa6acd2d4a2184975ec83f5edde329 (diff)
set up PHP
Diffstat (limited to 'updatesite.command')
-rwxr-xr-xupdatesite.command4
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