mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-29 14:38:50 +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) => {
|
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 */) => {
|
return spawn(process.cwd()+'/scripts/build-algolia.js', opts).on('close', (/* code */) => {
|
||||||
cb();
|
cb();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user