This commit is contained in:
James Ives 2020-05-24 11:24:33 -04:00
parent 999988e54b
commit 0e2603f663

View File

@ -245,7 +245,7 @@ export async function deploy(action: ActionInterface): Promise<Status> {
// Cleans up temporary files/folders and restores the git state.
info('Running post deployment cleanup jobs… 🗑️')
await execute(
`git worktree remove ${temporaryDeploymentDirectory}`,
`git worktree remove ${temporaryDeploymentDirectory} --force`,
action.workspace
)
await rmRF(temporaryDeploymentDirectory)