Skip to content

Commit 74527e7

Browse files
committed
fix: FORCE_PUSH not working with simple-git 3
1 parent 0550b58 commit 74527e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ await dayOffsets
4747
.flat()
4848
.reduce((commitPromises, nextPromise) => commitPromises.then(nextPromise), Promise.resolve());
4949

50-
await git(localPath).push(repoPath, env.GIT_BRANCH, env.FORCE_PUSH && {'--force': null});
50+
await git(localPath).push(repoPath, `HEAD:${env.GIT_BRANCH}`, env.FORCE_PUSH && {'--force': null});

0 commit comments

Comments
 (0)