Skip to content

Commit 848021a

Browse files
committed
Add .profile.d script and remove config vars from bin/release
1 parent 2ed9e4d commit 848021a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.profile.d/config_vars.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
export PLATFORM=heroku
4+
export PATH=$PATH:/app/erlang/bin:/app/elixir/bin
5+
export MIX_ENV=${MIX_ENV:-prod}

bin/release

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,4 @@ addons:
66
heroku-postgresql:hobby-dev
77
default_process_types:
88
web: mix server -p \$PORT
9-
config_vars:
10-
PLATFORM: heroku
11-
PATH: /app/erlang/bin:/app/elixir/bin:bin:/usr/bin:/bin
12-
MIX_ENV: prod
139
EOF

0 commit comments

Comments
 (0)