summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-03-03 18:09:10 -0800
committerJeff Forcier <jeff@bitprophet.org>2014-03-03 18:09:10 -0800
commit1038cfe7dd4cfb3fc8f4c09442f4b8ff9443b67b (patch)
treeb45b524f2181c4db59c7049b7536c08971fe6262
parent83f09e634f4e57707c8423423f5cb8ad74d731bd (diff)
No more need for the fabfile, everything uses invoke now
-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))