summaryrefslogtreecommitdiff
path: root/sync.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sync.sh')
-rwxr-xr-xsync.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/sync.sh b/sync.sh
index 0664b51..0102c33 100755
--- a/sync.sh
+++ b/sync.sh
@@ -1,8 +1,10 @@
#!/bin/bash
-cp templates/index.html templates/page.html
+#cp templates/index.html templates/page.html
python build.py
-rsync -Lta --no-perms --no-owner --no-group --delete --exclude=sync.sh -vz -e ssh ./html/ oracle:/srv/davidovski/html
+rsync -Lta --no-perms --no-owner --no-group --delete --exclude=sync.sh -vz -e ssh ./html/ cheetah:/srv/www/davidovski/html
-git push # push after everything to keep it all backed up
+ssh -t cheetah "ln -s /srv/shared/site/* /srv/www/davidovski/html/"
+
+# git push # push after everything to keep it all backed up