title: Get current environment name
body: <p>In Phoenix Framework, how can I get the current environment's name ?</p>
  
  <p>I've already tried reading <code>env</code> variables with <code>System.get_env("MIX_ENV")</code>, but the value is not always set.</p>