Module: MorpheusHeroku::Deploy

Extended by:
Deploy
Included in:
Deploy
Defined in:
lib/morpheus-heroku/deploy.rb

Constant Summary collapse

DEPLOY_ENV =
"production"

Instance Method Summary collapse

Instance Method Details

#productionObject



7
8
9
10
11
12
13
14
15
# File 'lib/morpheus-heroku/deploy.rb', line 7

def production
  fetch_active_remotes!
  ensure_local_remote_is_up_to_date!
  deploy_to_heroku!
  run_database_migrations!
  restart_server!
  tag_release!
  update_git!
end