Class: HerokuSan::Deploy::Rails

Inherits:
Base
  • Object
show all
Defined in:
lib/heroku_san/deploy/rails.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from HerokuSan::Deploy::Base

Instance Method Details

#deployObject



6
7
8
9
10
11
# File 'lib/heroku_san/deploy/rails.rb', line 6

def deploy
  # TODO: Add announce/logger
  super
  @stage.run('rake db:migrate')
  @stage.restart
end