Class: DPL::Provider::BitBalloon
Instance Attribute Summary
#context, #options
Instance Method Summary
collapse
apt_get, #check_app, #cleanup, #commit_msg, context, #create_key, #default_text_charset, #default_text_charset?, #deploy, deprecated, #detect_encoding?, #encoding_for, #error, experimental, #initialize, #log, new, npm_g, #option, pip, requires, #run, #setup_git_credentials, #setup_git_ssh, #sha, shell, #uncleanup, #user_agent, #warn
Constructor Details
This class inherits a constructor from DPL::Provider
Instance Method Details
#check_auth ⇒ Object
6
7
|
# File 'lib/dpl/provider/bitballoon.rb', line 6
def check_auth
end
|
#needs_key? ⇒ Boolean
9
10
11
|
# File 'lib/dpl/provider/bitballoon.rb', line 9
def needs_key?
false
end
|
#push_app ⇒ Object
13
14
15
16
17
18
19
|
# File 'lib/dpl/provider/bitballoon.rb', line 13
def push_app
command = 'bitballoon deploy'
command << " ./#{option(:local_dir)}" if options.fetch(:local_dir,false)
command << " --site-id=#{option(:site_id)}" if options[:site_id]
command << " --access-token=#{option(:access_token)}" if options[:access_token]
context.shell command
end
|