cavdailyonline / unicorn

CMS and front end app for student news publication
4 stars 5 forks source link

[WIP] Add travis auto deploy with encrypted keys #48

Open jnayak1 opened 8 years ago

jnayak1 commented 8 years ago

screen shot 2016-10-08 at 1 36 42 pm

jnayak1 commented 8 years ago

Each Travis CI repo is assigned a public-private key pair. Only Travis CI has the private key. You can encrypt sensitive information using the public key so that only Travis CI can decrypt the information with the private key. This way, sensitive information (such as API keys) stays private even in a public repo.

jnayak1 commented 8 years ago

https://github.com/cavdailyonline/unicorn/issues/51

leodomingo commented 8 years ago

Is this good to merge?

jnayak1 commented 8 years ago

@leodomingo I haven't tested it. Was waiting for the credit card for AWS. Shouldn't cost anything though just to upload app to S3 (w/o cloudfront setup). I'll try it out later this weekend if I have time.