diff --git a/bin/deployment/build b/bin/deployment/build index 3ed327cb21..eb3ab420c3 100755 --- a/bin/deployment/build +++ b/bin/deployment/build @@ -4,6 +4,7 @@ set -e cd /opt/app || exit 1 +export PATH=/opt/elixir/bin:$PATH export MIX_ENV=prod mix local.rebar --force diff --git a/bin/deployment/migrate b/bin/deployment/migrate index 11549d655c..5e61ac64b9 100755 --- a/bin/deployment/migrate +++ b/bin/deployment/migrate @@ -4,6 +4,8 @@ set -e cd /opt/app || exit 1 +export PATH=/opt/elixir/bin:$PATH + mix do ecto.create, ecto.migrate exit 0