Class: Afterlife::Deploy::CustomDeployment

Inherits:
Deployment
  • Object
show all
Defined in:
lib/afterlife/deploy/custom_deployment.rb

Instance Attribute Summary

Attributes inherited from Deployment

#options

Instance Method Summary collapse

Methods inherited from Deployment

#initial_message, #initialize, #output, #repo_command, #setup

Constructor Details

This class inherits a constructor from Afterlife::Deploy::Deployment

Instance Method Details

#confirmation_messageObject



10
11
12
# File 'lib/afterlife/deploy/custom_deployment.rb', line 10

def confirmation_message
  'You are about to deploy the current directory'
end

#runObject



6
7
8
# File 'lib/afterlife/deploy/custom_deployment.rb', line 6

def run
  Exec.run(commands)
end