GitHub Pages requires your repository to be public. However, I have an .env
variable that is using an API key to call my CMS, and I would not like that API key to be shown.
Does GitHub or GitHub Pages have a way to do that?
I have used a .gitignore
, but it does not solve my problem.