summaryrefslogtreecommitdiff
path: root/sync.sh
blob: 11a9f8d39ea47a06aa3410ea1e31e94a7cafb5f6 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

python build.py
rsync -Lta --no-perms --no-owner --no-group --delete --exclude=sync.sh -vz -e ssh ./html/ 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