Class: Codebuild::Deploy
Instance Method Summary collapse
Methods inherited from Stack
Methods included from AwsServices
Methods included from AwsServices::Helpers
#are_you_sure?, #inferred_project_name, #inferred_stack_name, #project_name_convention, #stack_exists?
Constructor Details
This class inherits a constructor from Codebuild::Stack
Instance Method Details
#run ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/codebuild/deploy.rb', line 3 def run if stack_exists?(@stack_name) Update.new().run else Create.new().run end end |