summaryrefslogtreecommitdiffhomepage
path: root/fabfile.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-09-05 10:39:00 -0700
committerJeff Forcier <jeff@bitprophet.org>2014-09-05 10:39:00 -0700
commit0e0460f85942e79c94b7db9d93abdf60bf1dbac4 (patch)
tree152b80b4a2822abcb85136f7fbc7f9263279eb14 /fabfile.py
parent683b3c22893be899d2fdbf1ada35e61fba8a3d70 (diff)
parenteb7da84bee49f6e7b568ee00fd5f3db0bb29f36a (diff)
Merge branch 'master' into 131-int
Diffstat (limited to 'fabfile.py')
-rw-r--r--fabfile.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/fabfile.py b/fabfile.py
deleted file mode 100644
index 29394f94..00000000
--- a/fabfile.py
+++ /dev/null
@@ -1,13 +0,0 @@
-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))