eHealthAfrica / direct-delivery-dashboard

Dashboard for the direct delivery management system
http://dev-dd.ehealth.org.ng/
Other
4 stars 8 forks source link

chore: gzip build assets #372

Closed tlvince closed 8 years ago

tlvince commented 8 years ago

gzip the entire dist directory before uploading to S3. Only do this in Travis as serving dist locally (with a dumb server) is occasionally useful.

@norbert, does this work for you?

Closes #371.

norbert commented 8 years ago

@tlvince yeah seems fine. Don't forget to set detect_encoding: true in .travis.yml though: https://docs.travis-ci.com/user/deployment/s3/#Setting-Content-Encoding-header

tlvince commented 8 years ago

Lets give it a whirl.