Absolute baseurls

This commit is contained in:
Vincent Fiduccia
2018-09-01 20:49:40 -07:00
committed by Denise Schannon
parent 80fd16647b
commit 94492c41f3
+2 -2
View File
@@ -54,14 +54,14 @@ gulp.task('build-dev', (cb) => {
});
gulp.task('hugo', (cb) => {
return spawn('hugo', ['--buildFuture', '--baseURL=/docs'], { stdio: 'inherit' }).on('close', (/* code */) => {
return spawn('hugo', ['--buildFuture', '--baseURL=https://rancher.com/docs'], { stdio: 'inherit' }).on('close', (/* code */) => {
browserSync.reload();
cb();
});
});
gulp.task('hugo-staging', (cb) => {
return spawn('hugo', ['--buildDrafts', '--buildFuture', '--baseURL=/docs'], { stdio: 'inherit' }).on('close', (/* code */) => {
return spawn('hugo', ['--buildDrafts', '--buildFuture', '--baseURL=https://staging.rancher.com/docs'], { stdio: 'inherit' }).on('close', (/* code */) => {
browserSync.reload();
cb();
});