Sha256: 371406a7cf4efd415f6d4a05807e2768af5e015aa3696a869b6c75c5487b791b
Contents?: true
Size: 498 Bytes
Versions: 481
Compression:
Stored size: 498 Bytes
Contents
module DPL class Provider class Divshot < Provider npm_g 'divshot-cli', 'divshot' def check_auth raise Error, "must supply an api key" unless option(:api_key) end def check_app error "missing divshot.json" unless File.exist? "divshot.json" end def needs_key? false end def push_app context.shell "divshot push #{options[:environment] || "production"} --token=#{option(:api_key)}" end end end end
Version data entries
481 entries across 481 versions & 3 rubygems