From d02c4910288b1871439197f89795843842efabf3 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sat, 13 Jun 2020 15:51:29 -0700 Subject: [PATCH] CI: run ecto migrations on deploy --- app.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 app.json diff --git a/app.json b/app.json new file mode 100644 index 0000000..034fbec --- /dev/null +++ b/app.json @@ -0,0 +1,7 @@ +{ + "scripts": { + "dokku": { + "predeploy": "POOL_SIZE=2 mix ecto.migrate" + } + } + } \ No newline at end of file