mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Deploy Production Code for Commit 44d3af880f
🚀
This commit is contained in:
parent
44d3af880f
commit
04a1384a63
@ -182,8 +182,7 @@ function deploy(action) {
|
||||
(0, core_1.info)('Updates were rejected');
|
||||
// If the push failed for any reason other than being rejected,
|
||||
// there is a problem
|
||||
console.log('THE LOG---', pushResult.stderr);
|
||||
if (!rejected && pushResult.stderr)
|
||||
if (!rejected && pushResult.stderr.includes('fatal:'))
|
||||
throw new Error(pushResult.stderr);
|
||||
} while (rejected);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user