Method: Docman::Deployers::GitDeployer#push

Defined in:
lib/docman/deployers/git_deployer.rb

#pushObject



7
8
9
10
11
12
# File 'lib/docman/deployers/git_deployer.rb', line 7

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