From 485e48556a2b3e98af33701e6468a73d4b256d2f Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Tue, 19 Dec 2017 15:21:47 -0800 Subject: [PATCH] misc(viewer): retain /plots/ when deploying new viewer version (#4079) --- lighthouse-viewer/gulpfile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lighthouse-viewer/gulpfile.js b/lighthouse-viewer/gulpfile.js index 92b3ad5d03..b17acfa907 100644 --- a/lighthouse-viewer/gulpfile.js +++ b/lighthouse-viewer/gulpfile.js @@ -173,6 +173,7 @@ gulp.task('create-dir-for-gh-pages', () => { gulp.task('deploy', cb => { runSequence('clean', 'build', 'create-dir-for-gh-pages', function() { ghpages.publish(`dist/viewer`, { + add: true, // keep existing files (like `./plots/`) logger: $.util.log, }, err => { if (err) {