diff options
Diffstat (limited to 'sync.sh')
-rwxr-xr-x | sync.sh | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |