Debugging

This commit is contained in:
James Ives 2019-11-10 14:55:00 -05:00
parent 4ac9138a70
commit 2731c10cfd
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ function deploy() {
yield generateBranch();
}
console.log('list', yield util_1.execute(`ls`, constants_1.action.build));
yield util_1.execute(`git checkout --orphan ${constants_1.repositoryPath}`, constants_1.action.branch);
yield util_1.execute(`git checkout --orphan ${constants_1.repositoryPath}`, constants_1.action.build);
yield util_1.execute(`git remote rm origin`, 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);

View File

@ -76,7 +76,7 @@ export async function deploy(): Promise<any> {
console.log('list', await execute(`ls`, action.build))
await execute(`git checkout --orphan ${repositoryPath}`, action.branch)
await execute(`git checkout --orphan ${repositoryPath}`, action.build)
await execute(`git remote rm origin`, action.build)
await execute(`git remote add origin ${repositoryPath}`, action.build)