How to not version my .env


#1

Hi,

At the moment of deploy, how can I bring an .env file from another repository, to overwrite it with the repository that is deploying.

example…

When uploading my development branch, the .env file is not in the repository, so I want to get this file from another private repository that only has circleci access and administrators, the idea is to keep the server configurations away from the Developers.

My deploy is a heroku, with bitbucket as repository, and my app is construct in laravel.

Thanks!


#2