summaryrefslogtreecommitdiff
path: root/sync.sh
blob: e78ef19992df32fa395d622819360d49aef2a42f (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:/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