Commit 0c9e5d5a9e3de4ed9b2916cbf8072996bd591fef

Authored by James Martinez
1 parent da0ccdb5
Exists in master and in 1 other branch production

Allow Heroku to access ENV variables during asset compilation

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
@@ -172,6 +172,9 @@ heroku config:add HEROKU=true @@ -172,6 +172,9 @@ heroku config:add HEROKU=true
172 heroku config:add SECRET_TOKEN="$(bundle exec rake secret)" 172 heroku config:add SECRET_TOKEN="$(bundle exec rake secret)"
173 heroku config:add ERRBIT_HOST=some-hostname.example.com 173 heroku config:add ERRBIT_HOST=some-hostname.example.com
174 heroku config:add ERRBIT_EMAIL_FROM=example@example.com 174 heroku config:add ERRBIT_EMAIL_FROM=example@example.com
  175 +# This next line is required to access env variables during asset compilation.
  176 +# For more info, go to this link: https://devcenter.heroku.com/articles/labs-user-env-compile
  177 +heroku labs:enable user-env-compile
175 git push heroku master 178 git push heroku master
176 ``` 179 ```
177 180