class Dpl::Providers::Datica

Constants

VARS

Public Instance Methods

deploy() click to toggle source
# File lib/dpl/providers/datica.rb, line 35
def deploy
  shell :push
end
setup() click to toggle source
# File lib/dpl/providers/datica.rb, line 31
def setup
  commit if git_dirty? && !cleanup?
end

Private Instance Methods

commit() click to toggle source
# File lib/dpl/providers/datica.rb, line 41
def commit
  info :commit
  shell :checkout
  shell :add
  shell :commit
end
message() click to toggle source
# File lib/dpl/providers/datica.rb, line 48
def message
  vars.empty? ? 'Local build' : 'Build #%s (%s) of %s@%s' % vars
end
vars() click to toggle source
# File lib/dpl/providers/datica.rb, line 59
def vars
  @vars ||= ENV.values_at(*VARS).compact
end