mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
fix preview bug
This commit is contained in:
parent
c907fc520e
commit
14cdb47cb7
1 changed files with 7 additions and 1 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue