[deployment] ensure mix is in the path in deploy scripts

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

@ -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

@ -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

Loading…
Cancel
Save