mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-29 02:08:30 -04:00
The Procfile had only a web process, so a deploy never ran migrations and they had to be run by hand after the new code was live, leaving a window where the code expected columns that did not exist yet. A release phase runs db:migrate before the new release goes live, and if it fails the release is stopped and the old code keeps running. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
3 lines
78 B
Plaintext
3 lines
78 B
Plaintext
release: bundle exec rails db:migrate
|
|
web: bundle exec puma -C config/puma.rb
|