Set up deployment for a RoleModel Rails app after running the rolemodel_rails core_setup generator. Cleans up the generated Gemfile, verifies RuboCop, the test suite, and a local production smoke test pass, creates the Sentry project and wires up the DSN, creates and deploys the Heroku app (buildpacks, dynos, Postgres, Papertrail), and creates the GitHub deployment environment + deploy workflow. Use when the user says "deploy app", "set up staging", "set up heroku", "set up sentry for deploy", or "set up production deploy". Defaults to staging; pass "production" for the production flow.
2026-07-14