Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clean remote directories before copy.

  • Loading branch information...
commit 0beac47f786228b2f374ad42ce653dccd5e50d62 1 parent 4b5f8e9
@reid reid authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  fabfile.py
View
2  fabfile.py
@@ -23,12 +23,14 @@ def make_site():
@parallel
def deploy_site():
target = doc_dir + "/dev/"
+ run("rm -rf %s" % target)
rsync_project(remote_dir=target, local_dir="build_docs/")
@parallel
def release_site():
deploy_site()
with cd(doc_dir):
+ run("rm -rf v%s" % version)
run("cp -R dev v%s" % version)
@parallel
Please sign in to comment.
Something went wrong with that request. Please try again.