Debugging

This commit is contained in:
James Ives 2019-11-10 15:04:30 -05:00
parent b917b55fb5
commit 613567f428
2 changed files with 2 additions and 2 deletions

View File

@ -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.build);
yield util_1.execute(`git push origin ${constants_1.action.branch}`, constants_1.action.build);
/*
await execute(
`git worktree add --checkout ${temporaryDeploymentDirectory} origin/${action.branch}`,

View File

@ -87,7 +87,7 @@ export async function deploy(): Promise<any> {
);
await execute(
`git push --force ${repositoryPath}`,
`git push origin ${action.branch}`,
action.build
);