.env and gitignore with render

I used .env and gitignore system to hide my Telegram bot id. When I upload this code to github, the .env file will not appear. When I start using render, it will get my code from github, but my telegram bot will not have an id on github. So when I store the ids with .env and gitignore, how will render access it? Do I need to create env in render?

heyy,
While deploying, there are options to add your environment, By simply clicking on "Set Environment Setting Type stuffs, " various were available.

There, you can add your key and value too.

I hope it’ll solve your issue.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.