Class: MarketplaceKit::Commands::Deploy
- Inherits:
-
BaseAuthorizedCommand
- Object
- BaseCommand
- BaseAuthorizedCommand
- MarketplaceKit::Commands::Deploy
- Defined in:
- lib/marketplace_kit/commands/deploy.rb
Defined Under Namespace
Classes: ListChangedFiles
Instance Method Summary collapse
Methods inherited from BaseAuthorizedCommand
Methods inherited from BaseCommand
Methods included from Services::Loggable
Constructor Details
This class inherits a constructor from MarketplaceKit::Commands::BaseAuthorizedCommand
Instance Method Details
#execute ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/marketplace_kit/commands/deploy.rb', line 4 def execute log :deploy_started ensure_tmp_folder_exist log :compressing_folder zip_marketplace_builder_directory log :sending_zip response = send_zip_to_server return unless response.success? log :wait_for_deploy_finish wait_for_deploy(response[:body]['id']) end |