Verified Commit 20da9e62 authored by Aral Balkan's avatar Aral Balkan
Browse files

Update push to try and get a status code

parent 84b10088
......@@ -251,7 +251,12 @@ class Builder
NodeGit.Remote.lookup repository, 'origin'
.then (origin) =>
# NodeGit.Remote.initCallbacks @authorisation
origin.push ['refs/heads/master:refs/heads/master'], @authorisation
origin.push ['refs/heads/master:refs/heads/master'],
credentials: @authorisation,
pushUpdateReference: (ref, status, data) ->
@log.debug "Push result status: #{status}"
# null,
# repository.defaultSignature()
# 'Push to master'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment