shadrix
1 week ago
1104
2
Servers

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

Posted 1 week 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.