Sha256: 7b856d7049308b2b6e2babee004db0f115a923521a6b52b77184697ae1778d0e

Contents?: true

Size: 565 Bytes

Versions: 6

Compression:

Stored size: 565 Bytes

Contents

# frozen_string_literal: true

require 'travis/cli/setup'

module Travis
  module CLI
    class Setup
      class Cloud_66 < Service
        description 'Automatic deployment to Cloud 66'
        service_name 'cloud66'

        def run
          deploy 'cloud66', 'release' do |config|
            config['redeployment_hook'] ||= ask('Cloud 66 Redeployment Hook Url: ') { |q| q.echo = '*' }.to_s

            encrypt(config, 'redeployment_hook') if agree('Encrypt Redeployment Hook?') { |q| q.default = 'yes' }
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
travis-1.14.0 lib/travis/cli/setup/cloud_66.rb
travis-1.13.3 lib/travis/cli/setup/cloud_66.rb
travis-1.13.2 lib/travis/cli/setup/cloud_66.rb
travis-1.13.1 lib/travis/cli/setup/cloud_66.rb
travis-1.13.0 lib/travis/cli/setup/cloud_66.rb
travis-1.12.0 lib/travis/cli/setup/cloud_66.rb