summaryrefslogtreecommitdiff
path: root/sync.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-08-27 03:08:43 +0100
committerdavidovski <david@sendula.com>2021-08-27 03:08:43 +0100
commit459fa8f48a8d91fe2ed7eb15b093c3346d17d129 (patch)
treedbce97edf0365812d920648030a5820e97a6b5c2 /sync.sh
parente6eaad2eb74de4c4992d98ad6ddd2a35523cef96 (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