fix preview bug

This commit is contained in:
Wei Shi 2014-05-31 16:13:21 +08:00
commit 14cdb47cb7

View file

@ -44,7 +44,7 @@ def clean():
local('mkdir {deploy_path}'.format(**env))
@task(alias='preview')
@task
@fab_root
def build():
'''Generate the static output'''
@ -95,6 +95,12 @@ def reserve():
serve()
@task
@fab_root
def preview():
local('pelican -s publishconf.py')
@task
@fab_root
def cf_upload():