|
#!/bin/bash
|
|
|
|
rsync -Lta --no-perms --no-owner --no-group --delete --exclude=sync.sh -z -e ssh ./dist/ cheetah:/srv/www/davidovski/html
|
|
ssh -t cheetah "ln -s /srv/shared/site/* /srv/www/davidovski/html/"
|
|
# git push # push after everything to keep it all backed up
|