Skip to content

Commit 2b5e1c4

Browse files
hanslfilipesilva
authored andcommitted
build: fix deploy script condition (take 13)
1 parent 770a0df commit 2b5e1c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/git-builds.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ function main() {
144144
`https://${process.env['GITHUB_ACCESS_TOKEN']}@github.com`);
145145

146146
console.log(green('Done. Pushing...'));
147-
ngToolsWebpackBuildsExec.git('push', '-f', branchName);
148-
ngToolsWebpackBuildsExec.git('push', '--tags', branchName);
149-
cliBuildsExec.git('push', '-f', branchName);
150-
cliBuildsExec.git('push', '--tags', branchName);
147+
ngToolsWebpackBuildsExec.git('push', '-f', 'origin', branchName);
148+
ngToolsWebpackBuildsExec.git('push', '--tags', 'origin', branchName);
149+
cliBuildsExec.git('push', '-f', 'origin', branchName);
150+
cliBuildsExec.git('push', '--tags', 'origin', branchName);
151151
}
152152

153153
main();

0 commit comments

Comments
 (0)