I'm using git to push to Github for version control and heroku to deploy. However, problem is that i need to push my db info, access keys to heroku but not to github. I have a folder called "secret" that has all those confidential information.
Adding secret to .gitignore will prevent me from pushing those necessary information to heroku but leaving it out will cause my secrets to be uploaded for everyone. What is the best method to handle this situation?
- if i have already pushed my secret folder to heroku, will pushing without secret folder cause the folder in heroku to delete?