This commit is contained in:
James Ives 2020-05-24 12:05:59 -04:00
parent beddbf76e3
commit 19e358b0c2
2 changed files with 0 additions and 5 deletions

View File

@ -151,7 +151,6 @@ function deploy(action) {
// Cleans up temporary files/folders and restores the git state.
core_1.info('Running post deployment cleanup jobs… 🗑️');
yield execute_1.execute(`git worktree remove ${temporaryDeploymentDirectory} --force`, action.workspace);
yield execute_1.execute(`git branch -d ${temporaryDeploymentBranch}`, action.workspace);
yield io_1.rmRF(temporaryDeploymentDirectory);
}
});

View File

@ -248,10 +248,6 @@ export async function deploy(action: ActionInterface): Promise<Status> {
`git worktree remove ${temporaryDeploymentDirectory} --force`,
action.workspace
)
await execute(
`git branch -d ${temporaryDeploymentBranch}`,
action.workspace
)
await rmRF(temporaryDeploymentDirectory)
}
}