Debugging

This commit is contained in:
James Ives 2019-11-10 15:08:04 -05:00
parent 613567f428
commit 3843226fed
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 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 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 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 origin ${constants_1.action.branch}`, constants_1.action.build); yield util_1.execute(`git push --force origin ${constants_1.action.branch}`, constants_1.action.build);
/* /*
await execute( await execute(
`git worktree add --checkout ${temporaryDeploymentDirectory} origin/${action.branch}`, `git worktree add --checkout ${temporaryDeploymentDirectory} origin/${action.branch}`,

View File

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