Method: Travis::CLI::Setup::Ninefold#run
- Defined in:
- lib/travis/cli/setup/ninefold.rb
#run ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/travis/cli/setup/ninefold.rb', line 11 def run deploy 'ninefold', 'release' do |config| config['app_id'] ||= ask('Ninefold App ID: ').to_s config['auth_token'] ||= ask('Ninefold Auth Token: ') { |q| q.echo = '*' }.to_s encrypt(config, 'auth_token') if agree('Encrypt Auth Token? ') { |q| q.default = 'yes' } end end |