11 months ago

GitLab CI: Do you put your MIX_keys into .env.exampe?

Posted 11 months ago by shadrix

Hey :) so I read a lot about GitLab CI and how you can deploy your server. However, now I noticed that there might be a small problem. Wenn GitLab is running npm run production it compiles the code with the MIX_<variables>.

Normally, I would not put the API keys in .env.example, but in this case does it really matter, because you can read out the keys anyway by looking into the javascript code?

Please sign in or create an account to participate in this conversation.