Sha256: a1d194cbb9811280086eb26ecaf031993a66e15fa8bbb2fae80ac828e50b2e1b
Contents?: true
Size: 591 Bytes
Versions: 1
Compression:
Stored size: 591 Bytes
Contents
module Middleman module Deploy module Methods class Git < Base def process puts "## Deploying via git to remote=\"#{options.remote}\" and branch=\"#{options.branch}\"" camelized_strategy = options.strategy.to_s.split('_').map(&:capitalize).join strategy_class_name = "Middleman::Deploy::Strategies::Git::#{camelized_strategy}" strategy_instance = strategy_class_name.constantize.new(build_dir, options.remote, options.branch, options.commit_message) strategy_instance.process end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
middleman-deploy-2.0.0.pre.alpha | lib/middleman-deploy/methods/git.rb |