Sha256: b922ff6201c06dedcf4c26a57de7c00c51cb8ae970b6b10da37d884ca4201a21

Contents?: true

Size: 378 Bytes

Versions: 9

Compression:

Stored size: 378 Bytes

Contents

module Docman
  module Deployers
    class GitDeployer < Deployer

      register_deployer :git_deployer

      def push
        root = @docroot_config.root
        root.state = self['state']
        GitUtil.commit(root['full_build_path'], root['full_build_path'], 'Updated version.yaml')
        GitUtil.push(root['full_build_path'], root.version)
      end

    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
docman-0.0.14 lib/docman/deployers/git_deployer.rb
docman-0.0.13 lib/docman/deployers/git_deployer.rb
docman-0.0.12 lib/docman/deployers/git_deployer.rb
docman-0.0.11 lib/docman/deployers/git_deployer.rb
docman-0.0.10 lib/docman/deployers/git_deployer.rb
docman-0.0.9 lib/docman/deployers/git_deployer.rb
docman-0.0.8 lib/docman/deployers/git_deployer.rb
docman-0.0.7 lib/docman/deployers/git_deployer.rb
docman-0.0.6 lib/docman/deployers/git_deployer.rb