summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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"