mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 04:28:15 +00:00
Update env
This commit is contained in:
+6
-1
@@ -168,7 +168,12 @@ gulp.task('pub-delete', () => {
|
||||
|
||||
|
||||
gulp.task('build:search-index', (cb) => {
|
||||
const opts = {stdio: 'inherit'};
|
||||
const env = process.env;
|
||||
|
||||
const opts = {
|
||||
stdio: 'inherit',
|
||||
env: env
|
||||
};
|
||||
return spawn(process.cwd()+'/scripts/build-algolia.js', opts).on('close', (/* code */) => {
|
||||
cb();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user