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
commit 9370e496dd
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());
});