Skip to content

Commit

Permalink
Added fabfile to publish documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
miracle2k committed Mar 30, 2011
1 parent 623636a commit 4b7a25f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions fabfile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from fabric.api import run, put, env

env.hosts = ['elsdoerfer.com:2211']

def publish_docs():
target = '/var/www/elsdoerfer/files/docs/webassets'
run('rm -rf %s' % target)
run('mkdir %s' % target)
put('build/sphinx/html/*', '%s' % target)

0 comments on commit 4b7a25f

Please sign in to comment.