Add Release Option to Procfile for Running Migrations (#4559) [ci skip]
This commit is contained in:
parent
efbb108061
commit
fe5e8f6a8d
2 changed files with 2 additions and 3 deletions
|
|
@ -48,8 +48,6 @@ deploy:
|
|||
api_key: '$HEROKU_AUTH_TOKEN'
|
||||
app:
|
||||
master: practicaldev
|
||||
run:
|
||||
- rails db:migrate
|
||||
after_deploy:
|
||||
- bash after_deploy.sh
|
||||
notifications:
|
||||
|
|
|
|||
3
Procfile
3
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
|
||||
worker: bundle exec rails jobs:work
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue