diff --git a/circle.yml b/circle.yml index 8290392..1526b38 100644 --- a/circle.yml +++ b/circle.yml @@ -4,7 +4,7 @@ machine: node: version: 5.11.1 environment: - DEBUG: false + BUILD_PRODUCTION: true dependencies: pre: diff --git a/pelicanconf.py b/pelicanconf.py index 8618c0b..fb6f33e 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -62,7 +62,7 @@ PLUGINS = [ "minify" ] -if "DEBUG" in os.environ: +if "BUILD_PRODUCTION" in os.environ: PLUGINS.append("minify") # only minify on production build SITEMAP = {