From b917b55fb5e8cc4c146cc3c69c511809ef5f5d5e Mon Sep 17 00:00:00 2001 From: James Ives Date: Sun, 10 Nov 2019 14:59:44 -0500 Subject: [PATCH] Debugging --- lib/git.js | 2 +- src/git.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/git.js b/lib/git.js index 81471097..ac101914 100644 --- a/lib/git.js +++ b/lib/git.js @@ -90,7 +90,7 @@ function deploy() { yield util_1.execute(`git remote add origin ${constants_1.repositoryPath}`, constants_1.action.build); yield util_1.execute(`git add --all`, constants_1.action.build); yield util_1.execute(`git commit -m "Deploying to ${constants_1.action.branch} from ${constants_1.action.baseBranch} ${process.env.GITHUB_SHA}" --quiet`, constants_1.action.build); - yield util_1.execute(`git push --force ${constants_1.repositoryPath} ${constants_1.action.baseBranch}:${constants_1.action.branch}`, constants_1.action.build); + yield util_1.execute(`git push --force ${constants_1.repositoryPath}`, constants_1.action.build); /* await execute( `git worktree add --checkout ${temporaryDeploymentDirectory} origin/${action.branch}`, diff --git a/src/git.ts b/src/git.ts index 5e03d05e..84d29edf 100644 --- a/src/git.ts +++ b/src/git.ts @@ -87,7 +87,7 @@ export async function deploy(): Promise { ); await execute( - `git push --force ${repositoryPath} ${action.baseBranch}:${action.branch}`, + `git push --force ${repositoryPath}`, action.build );