Update doc upload task w/ static hostname

This commit is contained in:
Jeff Forcier 2013-07-07 15:40:38 -07:00
parent ba3ce80c14
commit caf94786ca
1 changed files with 2 additions and 1 deletions

3
fabfile.py vendored
View File

@ -1,9 +1,10 @@
from fabric.api import task, sudo, env, local from fabric.api import task, sudo, env, local, hosts
from fabric.contrib.project import rsync_project from fabric.contrib.project import rsync_project
from fabric.contrib.console import confirm from fabric.contrib.console import confirm
@task @task
@hosts("paramiko.org")
def upload_docs(): def upload_docs():
target = "/var/www/paramiko.org" target = "/var/www/paramiko.org"
staging = "/tmp/paramiko_docs" staging = "/tmp/paramiko_docs"