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

#cp templates/index.html templates/page.html

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