Skip to content

Commit 20e5fac

Browse files
hanslfilipesilva
authored andcommitted
build: fix deploy script condition (take 9)
1 parent 798d240 commit 20e5fac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/git-builds.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Promise.resolve()
9797
.then((message) => execute('git', './ngtools-webpack-builds', 'commit', '-am', message.substr(1)))
9898
// Update the credentials using the GITHUB TOKEN.
9999
.then(() => execute('git', './ngtools-webpack-builds', 'config', 'credential.helper',
100-
'store', '--file=.git/credentials'))
100+
'store --file=.git/credentials'))
101101
.then(() => fs.writeFileSync('./ngtools-webpack-builds/.git/credentials',
102102
`https://${process.env['GITHUB_ACCESS_TOKEN']}@github.com`))
103103
.then(() => console.log(process.env['DEPLOY_SCRIPT']))
@@ -115,7 +115,7 @@ Promise.resolve()
115115
.then((message) => execute('git', './cli-builds', 'commit', '-am', message.substr(1)))
116116
// Update the credentials using the GITHUB TOKEN.
117117
.then(() => execute('git', './cli-builds', 'config', 'credential.helper',
118-
'store', '--file=.git/credentials'))
118+
'store --file=.git/credentials'))
119119
.then(() => fs.writeFileSync('./cli-builds/.git/credentials',
120120
`https://${process.env['GITHUB_ACCESS_TOKEN']}@github.com`))
121121
.then(() => execute('git', './cli-builds', 'push'))

0 commit comments

Comments
 (0)