1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-12-25 02:46:10 +01:00

set environment correctly again

- this preent the whole site from getting indexed by search engines
- introduced in 66c92d8031
This commit is contained in:
Matthias Kretschmann 2017-03-17 17:55:41 +01:00
parent 6509ad52c3
commit a558cc541d
Signed by: m
GPG Key ID: BD3C1F3EDD7831FC

View File

@ -114,8 +114,10 @@ gulp.task('jekyll', function(cb) {
browser.notify('Compiling Jekyll'); browser.notify('Compiling Jekyll');
if (isProduction) { if (isProduction) {
process.env.JEKYLL_ENV = 'production';
var jekyll_options = 'jekyll build'; var jekyll_options = 'jekyll build';
} else { } else {
process.env.JEKYLL_ENV = 'development';
var jekyll_options = 'jekyll build --incremental --drafts --future'; var jekyll_options = 'jekyll build --incremental --drafts --future';
} }