Dont deploy drafts
This commit is contained in:
parent
cbbacc2682
commit
4298a5f8da
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,9 @@ def post_build(*args, **kwargs):
|
||||||
run_command('Remove Old Assets', [
|
run_command('Remove Old Assets', [
|
||||||
'rm', '-rf', os.path.join(OUTPUT_PATH, 'assets')
|
'rm', '-rf', os.path.join(OUTPUT_PATH, 'assets')
|
||||||
])
|
])
|
||||||
|
run_command('Remove Drafts', [
|
||||||
|
'rm', '-rf', os.path.join(OUTPUT_PATH, 'drafts')
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
def register():
|
def register():
|
||||||
|
|
Reference in a new issue