More debugging

This commit is contained in:
James Ives 2019-11-10 14:40:54 -05:00
parent 9d31ce2ef4
commit 44a73794b6
2 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,7 @@ function deploy() {
console.log("Deployment branch does not exist. Creating....");
yield generateBranch();
}
yield util_1.execute(`git switch -t origin/${constants_1.action.baseBranch}`, constants_1.action.build);
console.log('list', yield util_1.execute(`ls`, constants_1.action.build));
yield util_1.execute(`git add .`, 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);

View File

@ -73,6 +73,8 @@ export async function deploy(): Promise<any> {
await generateBranch();
}
await execute(`git switch -t origin/${action.baseBranch}`, action.build)
console.log('list', await execute(`ls`, action.build))
await execute(`git add .`, action.build);