mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Formatting
This commit is contained in:
parent
271d30c8e2
commit
ae5d58fae3
@ -156,7 +156,10 @@ export async function deploy(): Promise<any> {
|
||||
// Cleans up temporary files/folders and restores the git state.
|
||||
console.log("Running post deployment cleanup jobs... 🔧");
|
||||
await execute(`rm -rf ${temporaryDeploymentDirectory}`, workspace);
|
||||
await execute(`git checkout --progress --force ${action.defaultBranch}`, workspace)
|
||||
await execute(
|
||||
`git checkout --progress --force ${action.defaultBranch}`,
|
||||
workspace
|
||||
);
|
||||
|
||||
return Promise.resolve("Commit step complete...");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user