From f350f070b3f3e4590c292a1d1d5d9be6e0606737 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 7 Jan 2016 11:46:15 +0000 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20package=20raw=20front=20end=20a?= =?UTF-8?q?ssets=20for=20deployment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit None of these files are used by the app when it’s running them. Having them in the deployed blob only makes the deploy slower and the logs massive. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 23b5152ee..a088f0cd0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,6 +43,7 @@ deploy: region: eu-west-1 on: *2 before_deploy: +- rm -rf notifications-admin/node_modules notifications-admin/bower_components notifications-admin/app/assets - zip -r notifications-admin * - mkdir -p dpl_cd_upload -- mv notifications-admin.zip dpl_cd_upload/notifications-admin.zip \ No newline at end of file +- mv notifications-admin.zip dpl_cd_upload/notifications-admin.zip