mirror of
https://github.com/bcanseco/github-contribution-graph-action.git
synced 2025-10-09 13:41:58 +03:00
fix: FORCE_PUSH not working with simple-git 3
This commit is contained in:
@@ -47,4 +47,4 @@ await dayOffsets
|
||||
.flat()
|
||||
.reduce((commitPromises, nextPromise) => commitPromises.then(nextPromise), Promise.resolve());
|
||||
|
||||
await git(localPath).push(repoPath, env.GIT_BRANCH, env.FORCE_PUSH && {'--force': null});
|
||||
await git(localPath).push(repoPath, `HEAD:${env.GIT_BRANCH}`, env.FORCE_PUSH && {'--force': null});
|
||||
|
||||
Reference in New Issue
Block a user