Skip to content

Commit 3debb6b

Browse files
authored
Merge pull request #162 from cardeons/feature/run-migrations-on-deploy
added deploy to procfile to run migrations on build
2 parents d9d9c21 + 5ba8ad1 commit 3debb6b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Procfile.dev

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
web: bundle exec rails s -p 3000
22
redis: redis-server
3-
worker: bundle exec sidekiq -v
3+
worker: bundle exec sidekiq -v
4+
release: rails db:migrate

Procfile.real

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
web: bundle exec rails s
2-
worker: bundle exec sidekiq -v
2+
worker: bundle exec sidekiq -v
3+
release: rails db:migrate

0 commit comments

Comments
 (0)