Add Release Option to Procfile for Running Migrations (#4559) [ci skip]

This commit is contained in:
Molly Struve 2019-10-23 12:47:54 -05:00 committed by Mac Siri
parent efbb108061
commit fe5e8f6a8d
2 changed files with 2 additions and 3 deletions

View file

@ -48,8 +48,6 @@ deploy:
api_key: '$HEROKU_AUTH_TOKEN'
app:
master: practicaldev
run:
- rails db:migrate
after_deploy:
- bash after_deploy.sh
notifications:

View file

@ -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
worker: bundle exec rails jobs:work