Added jekyll_env production to jekyll build step

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
Jim Martens 2019-02-27 15:08:06 +01:00
parent 2b1fe8d42f
commit f2e5f7df83
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ gulp.task("clean:images", function () {
// Runs jekyll build command.
gulp.task("build:jekyll", function () {
const shellCommand = "bundle exec jekyll build --config _config.yml";
const shellCommand = "JEKYLL_ENV=production bundle exec jekyll build --config _config.yml";
return exec(shellCommand);
});