From 459fa8f48a8d91fe2ed7eb15b093c3346d17d129 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 27 Aug 2021 03:08:43 +0100 Subject: new article, added background --- sync.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sync.sh') 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 -- cgit v1.2.1