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