Added jekyll_env production to jekyll build step
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -119,7 +119,7 @@ gulp.task("clean:images", function () {
|
|||||||
|
|
||||||
// Runs jekyll build command.
|
// Runs jekyll build command.
|
||||||
gulp.task("build:jekyll", function () {
|
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);
|
return exec(shellCommand);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user