Deploying create-react-app to S3 or CloudFront
Marc Garreau

Thanks for the write up!

I took this one step further and set up Travis CI to deploy whenever a commit is merged to master. Check out the .travis.yml that accomplishes that:

The steps of the deploy script are similar to what you describe above, but they also invalidate the CloudFront cache.

Hopefully that is useful to the next person wishing to do the same thing :)

Like what you read? Give Ryan Sydnor a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.