File: fabfile.py

package info (click to toggle)
flask-assets 0.12-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 248 kB
  • sloc: python: 715; makefile: 73
file content (9 lines) | stat: -rw-r--r-- 258 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
from fabric.api import run, put, env

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

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