Merge branch 'releases/v4-st' of https://github.com/JamesIves/github-pages-deploy-action into releases/v4-st

This commit is contained in:
James Ives 2022-07-17 09:22:42 -04:00
commit 44d3af880f

View File

@ -182,6 +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)
throw new Error(pushResult.stderr);
} while (rejected);