diff --git a/gulpfile.js b/gulpfile.js index 0492d44..315647d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -105,6 +105,7 @@ gulp.task('jekyll', function(cb) { var spawn = require('child_process').spawn; if (isProduction) { + process.env.JEKYLL_ENV = 'production'; var jekyll = spawn('bundle', ['exec', 'jekyll', 'build'], { stdio: 'inherit' }); } else { var jekyll = spawn('bundle', ['exec', 'jekyll', 'build', '--incremental', '--drafts', '--future'], { stdio: 'inherit' });