Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Better
Builder
Commits
94cbedac
Verified
Commit
94cbedac
authored
Sep 26, 2018
by
Aral Balkan
Browse files
Minor: remove comment; update comment
parent
a205b9c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Builder.coffee
View file @
94cbedac
...
...
@@ -73,7 +73,7 @@ class Builder
@
authorisation
=
callbacks
:
credentials
:
(
url
,
userName
)
=>
@
log
.
info
"Providing credentials
…
"
@
log
.
info
"Providing credentials
:
#{
url
}
,
#{
userName
}
"
NodeGit
.
Cred
.
sshKeyNew
userName
,
@
publicSSHKeyPath
,
@
privateSSHKeyPath
,
''
# certificateCheck: () ->
# return 1
...
...
@@ -256,9 +256,6 @@ class Builder
# repository.defaultSignature()
# 'Push to master'
.
then
(
pushResult
)
=>
# If this is the data for the site, let’s also push it to the site to trigger a deployment.
# TODO: In the future, when we have silent notifications implemented for the iOS app,
# this is also when we’ll trigger a push for those.
if
repositoryPath
==
app
.
dataForSiteDirectory
@
pushToSite
repository
.
then
=>
...
...
@@ -311,4 +308,4 @@ class Builder
@
log
.
debug
'Completed update.'
module
.
exports
=
Builder
\ No newline at end of file
module
.
exports
=
Builder
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment