From 90fe8de6327eabb6389418dfc91e8be3c6453e6d Mon Sep 17 00:00:00 2001 From: Christopher Mills Date: Sun, 7 Oct 2018 00:09:13 +0100 Subject: [PATCH] Let gulp look for all the images in 2016, no html. It looks like the images that were in these files weren't being copied across from /public -> /dist when ./netlify-production.sh ran the gulp task to copy stuff across. Signed-off-by: Chris M --- gulp/tasks/copy-static-files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulp/tasks/copy-static-files.js b/gulp/tasks/copy-static-files.js index 6d666b63d..9b1adeda9 100644 --- a/gulp/tasks/copy-static-files.js +++ b/gulp/tasks/copy-static-files.js @@ -22,7 +22,7 @@ gulp.task('copy-other-images', function() { }) gulp.task('copy-old-images', function () { - return gulp.src(['public/events/2015*/**/', 'public/events/**/2016*/**/', '!**/*.html']) + return gulp.src(['public/events/2015*/**/', 'public/events/2016*/**/*', '!**/*.html']) .pipe(gulp.dest('dist/events')); });