summaryrefslogtreecommitdiffhomepage
path: root/fabfile.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2013-07-07 15:40:38 -0700
committerJeff Forcier <jeff@bitprophet.org>2013-07-07 15:40:38 -0700
commitcaf94786ca8c0bc9e3995da0a160c84921a3bfc6 (patch)
treea41d3eac3bfda8e61e080d063803b76e7ad81c14 /fabfile.py
parentba3ce80c14edac24c21c25aec2c0680df5927f00 (diff)
Update doc upload task w/ static hostname
Diffstat (limited to 'fabfile.py')
-rw-r--r--fabfile.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/fabfile.py b/fabfile.py
index 52183382..56a2dd10 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"