I'm trying to perform Continuous Deployment with Github and Laravel 5. I want to create 3 branch in my Git, develop, QA, and master A push in each respective branch would deploy in a different server, all instances of AWS Amazon EC2.
Thing is I don't know how to manage .env file for instance. For those 3 servers, this file should be different. Besides, this file is part of .gitignore, so it will not be deployed. So how should I do to manage this part???