From fe5e8f6a8de2a984566ee5e05b29cd54475d7c6b Mon Sep 17 00:00:00 2001 From: Molly Struve Date: Wed, 23 Oct 2019 12:47:54 -0500 Subject: [PATCH] Add Release Option to Procfile for Running Migrations (#4559) [ci skip] --- .travis.yml | 2 -- Procfile | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 57e52b62a..971bf3220 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,8 +48,6 @@ deploy: api_key: '$HEROKU_AUTH_TOKEN' app: master: practicaldev - run: - - rails db:migrate after_deploy: - bash after_deploy.sh notifications: diff --git a/Procfile b/Procfile index ae689ef51..13a61bd97 100644 --- a/Procfile +++ b/Procfile @@ -1,2 +1,3 @@ +release: bundle exec rails db:migrate web: bin/start-pgbouncer bundle exec puma -C config/puma.rb -worker: bundle exec rake jobs:work \ No newline at end of file +worker: bundle exec rails jobs:work