Hello all,
I am wanting to set my MONGO_URI variable in my GitHub repo, as that is where it is being deployed from.
The issue is: I really do not want to have to go through the whole process of setting up a GitHub Action just to set this one environment variable.
Naively, I tried doing this in my .env
file:
MONGO_URI=${{ secrets.MONGO_URI }}
Is there any way of doing something similar? Even some hacky way of hiding my .env
file from public view in GitHub, so I can set the variable directly…
Any help is appreciated.