Sha256: ac66028caec78e415b90865f3cd27f0a3d36b43b264fbd1e5fa0824935419393

Contents?: true

Size: 258 Bytes

Versions: 6

Compression:

Stored size: 258 Bytes

Contents

module ORS::Commands

  class Deploy < Base

    def execute
      info "deploying #{name} #{environment}..."

      [Update, Migrate, Restart].each {|command| run command }

      eval ERB.new(deploy_hook).result(binding) if deploy_hook
    end

  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ors-0.2.5 lib/ors/commands/deploy.rb
ors-0.2.4 lib/ors/commands/deploy.rb
ors-0.2.3 lib/ors/commands/deploy.rb
ors-0.2.2 lib/ors/commands/deploy.rb
ors-0.2.1 lib/ors/commands/deploy.rb
ors-0.2.0 lib/ors/commands/deploy.rb