blob: 9d51b682e01c9e95626f08cd4ef71badc51630e5 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/bash
DEPLOYPATH=`cat config/deploy-path`
if [ -s config/deploy-pass ]
then
sshpass -p `cat config/deploy-pass` rsync -urpP --delete http/ $DEPLOYPATH
else
rsync -urpP --delete http/ $DEPLOYPATH
fi
|