Don’t package raw front end assets for deployment

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.
This commit is contained in:
Chris Hill-Scott
2016-01-07 11:46:15 +00:00
parent 1c99a88588
commit f350f070b3

View File

@@ -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
- mv notifications-admin.zip dpl_cd_upload/notifications-admin.zip