blob: 86adc3f5d295fae6e0f65582f9836ae016e2b8c9 (
plain)
1
2
3
4
5
|
#!/bin/bash
rsync -Lta --no-perms --no-owner --no-group --delete --exclude=sync.sh -z -e ssh ./dist/ cheetah.remote:/srv/www/davidovski/html
ssh -t cheetah.remote "ln -s /srv/shared/site/* /srv/www/davidovski/html/"
# git push # push after everything to keep it all backed up
|