mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-22 01:36:55 +01:00
set JEKYLL_ENV during production build
This commit is contained in:
parent
efe35671d9
commit
cce5504393
@ -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' });
|
||||
|
Loading…
Reference in New Issue
Block a user