summaryrefslogtreecommitdiff
path: root/updatesite.command
diff options
context:
space:
mode:
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