[deployment] ensure database env vars are exported for deploy user

pull/246/head
Paul Schoenfelder 7 years ago
parent 7e7b170df9
commit ea23cd1f1b
  1. 4
      bin/deployment/migrate

@ -9,6 +9,10 @@ export MIX_ENV=prod
source /etc/environment
export DATABASE_URL
export POOL_SIZE
export ECTO_USE_SSL
mix do ecto.create, ecto.migrate
exit 0

Loading…
Cancel
Save