Class: DPL::Provider::BitBalloon
- Inherits:
-
DPL::Provider
- Object
- DPL::Provider
- DPL::Provider::BitBalloon
- Defined in:
- lib/dpl/provider/bitballoon.rb
Instance Method Summary collapse
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 .fetch(:local_dir,false) command << " --site-id=#{option(:site_id)}" if [:site_id] command << " --access-token=#{option(:access_token)}" if [:access_token] context.shell command end |