[deployment] ensure HOME is set for erlexec

pull/246/head
Paul Schoenfelder 7 years ago
parent 368997c50d
commit 18832310f1
  1. 1
      bin/deployment/build
  2. 2
      bin/deployment/migrate

@ -4,6 +4,7 @@ set -e
cd /opt/app || exit 1 cd /opt/app || exit 1
export HOME=/home/ec2-user
export PATH=/opt/elixir/bin:$PATH export PATH=/opt/elixir/bin:$PATH
export MIX_ENV=prod export MIX_ENV=prod

@ -4,7 +4,9 @@ set -e
cd /opt/app || exit 1 cd /opt/app || exit 1
export HOME=/home/ec2-user
export PATH=/opt/elixir/bin:$PATH export PATH=/opt/elixir/bin:$PATH
export MIX_ENV=prod
mix do ecto.create, ecto.migrate mix do ecto.create, ecto.migrate

Loading…
Cancel
Save