mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 19:03:30 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user