From caf94786ca8c0bc9e3995da0a160c84921a3bfc6 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Sun, 7 Jul 2013 15:40:38 -0700 Subject: [PATCH] Update doc upload task w/ static hostname --- fabfile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fabfile.py b/fabfile.py index 5218338..56a2dd1 100644 --- a/fabfile.py +++ b/fabfile.py @@ -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.console import confirm @task +@hosts("paramiko.org") def upload_docs(): target = "/var/www/paramiko.org" staging = "/tmp/paramiko_docs"