From 4298a5f8da49cd5f3e027254598d1b5b7f6fb7d2 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 14 Jan 2017 23:56:23 +0000 Subject: [PATCH] Dont deploy drafts --- plugins/post_build.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/post_build.py b/plugins/post_build.py index cffc47f..35096f4 100644 --- a/plugins/post_build.py +++ b/plugins/post_build.py @@ -16,6 +16,9 @@ def post_build(*args, **kwargs): run_command('Remove Old Assets', [ 'rm', '-rf', os.path.join(OUTPUT_PATH, 'assets') ]) + run_command('Remove Drafts', [ + 'rm', '-rf', os.path.join(OUTPUT_PATH, 'drafts') + ]) def register():