module JekyllPush::Local

Public Instance Methods

commit() click to toggle source

@return [String]

# File lib/jekyll_push/local.rb, line 9
def commit
  "Updated via JekyllPush local task at #{@time}"
end
msg() click to toggle source

@return [String]

# File lib/jekyll_push/local.rb, line 21
def msg
  "\nDeploying to branch '#{@target}' from local task."
end
origin(_opts) click to toggle source

@return [String]

# File lib/jekyll_push/local.rb, line 15
def origin(_opts)
  `git config --get remote.origin.url`.strip
end