Audits and rewrites a GitHub Actions pipeline that builds a Ruby on Rails application into a Docker image and deploys it with Kamal 2 to VPS or bare-metal hosts, including apps with a React frontend built by Vite Ruby, jsbundling-rails/esbuild, Shakapacker/React on Rails, or a separate SPA. Use when
Audits and rewrites a GitHub Actions pipeline that builds a Ruby on Rails application into a Docker image and deploys it with Kamal 2 to VPS or bare-metal hosts, including apps with a React frontend built by Vite Ruby, jsbundling-rails/esbuild, Shakapacker/React on Rails, or a separate SPA. Use when the user asks to speed up, review, fix or modernise a Kamal deploy; reports that `kamal deploy` in