Sha256: 963817e79886760f8ff04c1f0c5ade06a33ae02646bc650ac9165d2b134a8b13
Contents?: true
Size: 498 Bytes
Versions: 80
Compression:
Stored size: 498 Bytes
Contents
module DPL class Provider class Ninefold < Provider requires 'ninefold' def check_auth raise Error, "must supply an auth token" unless option(:auth_token) end def check_app raise Error, "must supply an app ID" unless option(:app_id) end def needs_key? false end def push_app context.shell "AUTH_TOKEN=#{option(:auth_token)} APP_ID=#{option(:app_id)} ninefold app redeploy --sure" end end end end
Version data entries
80 entries across 80 versions & 1 rubygems