Fixed: Restored robots.txt

(cherry picked from commit 37501094d7256e4dbe13de33b392933f6d475553)
This commit is contained in:
Mark McDowall
2020-12-31 13:11:22 -08:00
committed by Qstick
parent 38a1cf7209
commit 20dd071fd6
5 changed files with 14 additions and 1 deletions

View File

@@ -32,3 +32,11 @@ gulp.task('copyImages', () => {
.pipe(gulp.dest(paths.dest.root))
.pipe(livereload());
});
gulp.task('copyRobots', () => {
return gulp.src(paths.src.robots, { base: paths.src.root })
.pipe(cache('copyRobots'))
.pipe(print())
.pipe(gulp.dest(paths.dest.root))
.pipe(livereload());
});