Clean deploy.rb and fix rubocop warning