What is the default Rails deploy script?

If you want to customize the deploy script but retain the defaults, here is the default Hatchbox deploy script for Rails apps.

Written by Chris Oliver
Updated 4 months ago
The default Rails deploy script for Hatchbox is basically the following commands. We do a few different things like installing cron jobs with whenever if it's detected, so 
bundle install -j $(nproc)
yarn install
bundle exec rails assets:precompile
[[ -n "${CRON}" ]] && bundle exec rails db:migrate

Got a second, tell us how did we do?