Class: DPL::Provider::BitBalloon

Inherits:
DPL::Provider show all
Defined in:
lib/dpl/provider/bitballoon.rb

Instance Method Summary collapse

Instance Method Details

#check_authObject



6
7
# File 'lib/dpl/provider/bitballoon.rb', line 6

def check_auth
end

#needs_key?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/dpl/provider/bitballoon.rb', line 9

def needs_key?
  false
end

#push_appObject



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