summaryrefslogtreecommitdiff
path: root/sync.sh
diff options
context:
space:
mode:
authordavidovski <david@sendula.com>2021-08-27 03:08:43 +0100
committerdavidovski <david@sendula.com>2021-08-27 03:08:43 +0100
commit372855459a5cb707a1cdbc6d7adb12177afbf44b (patch)
treedbce97edf0365812d920648030a5820e97a6b5c2 /sync.sh
parent16b00548ec80b58c4e9a2c14acb2c0b713fd5592 (diff)
new article, added background
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