Module: JekyllPush::Local

Defined in:
lib/jekyll_push/local.rb

Instance Method Summary collapse

Instance Method Details

#commitObject



9
10
11
# File 'lib/jekyll_push/local.rb', line 9

def commit
  "Updated via JekyllPush local task at #{@time}"
end

#msgObject



21
22
23
# File 'lib/jekyll_push/local.rb', line 21

def msg
  "\nDeploying to branch '#{@target}' from local task."
end

#originObject



15
16
17
# File 'lib/jekyll_push/local.rb', line 15

def origin
  `git config --get remote.origin.url`.strip
end