Merge branch '1.8'

Conflicts:
	NEWS
This commit is contained in:
Jeff Forcier 2012-10-14 20:40:59 -07:00
commit 78815afe9d
1 changed files with 13 additions and 0 deletions

13
fabfile.py vendored Normal file
View File

@ -0,0 +1,13 @@
from fabric.api import task, sudo, env
from fabric.contrib.project import rsync_project
@task
def upload_docs():
target = "/var/www/paramiko.org"
staging = "/tmp/paramiko_docs"
sudo("mkdir -p %s" % staging)
sudo("chown -R %s %s" % (env.user, staging))
sudo("rm -rf %s/*" % target)
rsync_project(local_dir='docs/', remote_dir=staging, delete=True)
sudo("cp -R %s/* %s/" % (staging, target))