mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Force
This commit is contained in:
parent
999988e54b
commit
0e2603f663
@ -245,7 +245,7 @@ export async function deploy(action: ActionInterface): Promise<Status> {
|
|||||||
// Cleans up temporary files/folders and restores the git state.
|
// Cleans up temporary files/folders and restores the git state.
|
||||||
info('Running post deployment cleanup jobs… 🗑️')
|
info('Running post deployment cleanup jobs… 🗑️')
|
||||||
await execute(
|
await execute(
|
||||||
`git worktree remove ${temporaryDeploymentDirectory}`,
|
`git worktree remove ${temporaryDeploymentDirectory} --force`,
|
||||||
action.workspace
|
action.workspace
|
||||||
)
|
)
|
||||||
await rmRF(temporaryDeploymentDirectory)
|
await rmRF(temporaryDeploymentDirectory)
|
||||||
|
Loading…
Reference in New Issue
Block a user