Skip to content

Commit

Permalink
Move ecto.migrate to release phase (#157)
Browse files Browse the repository at this point in the history
* Move ecto.migrate to release phase

* Add logdna (mezmo) and sentry to review apps

* Remove sentry

* Remove logdna
  • Loading branch information
paulcretu authored Jul 28, 2023
1 parent 524af06 commit d273c76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"addons": ["heroku-postgresql:mini", "autoidle:hobby-web"],
"scripts": {
"postdeploy": "POOL_SIZE=2 mix ecto.migrate && mix run priv/repo/seeds.exs"
"postdeploy": "POOL_SIZE=2 mix run priv/repo/seeds.exs"
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion server/Procfile
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
web: source load_env.sh && MIX_ENV=prod mix phx.server
web: source load_env.sh && MIX_ENV=prod mix phx.server
release: POOL_SIZE=2 mix ecto.migrate

0 comments on commit d273c76

Please sign in to comment.