How to not version my .env


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


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.