mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Update git.ts
This commit is contained in:
parent
22bc971733
commit
a9eae6fc14
@ -310,8 +310,7 @@ export async function deploy(action: ActionInterface): Promise<Status> {
|
|||||||
|
|
||||||
// If the push failed for any reason other than being rejected,
|
// If the push failed for any reason other than being rejected,
|
||||||
// there is a problem
|
// there is a problem
|
||||||
console.log('THE LOG---', pushResult.stderr)
|
if (!rejected && pushResult.stderr.includes('fatal:')) throw new Error(pushResult.stderr)
|
||||||
if (!rejected && pushResult.stderr) throw new Error(pushResult.stderr)
|
|
||||||
} while (rejected)
|
} while (rejected)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user