From 9f9a437eebfbc53a6459d27a7002ad2dddbcc002 Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Sat, 30 Jan 2021 17:08:41 +0100 Subject: [PATCH] Update index.mjs --- .github/index.mjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/index.mjs b/.github/index.mjs index 1268c0f9..96f14904 100644 --- a/.github/index.mjs +++ b/.github/index.mjs @@ -44,10 +44,13 @@ //Commit and push if (mode === "publish") { - await git + console.log(`Pushing staged changes: \n${staged.map(file => ` - ${file}`).join("\n")}`) + const gitted = await git .addConfig("user.name", "GitHub Action") .addConfig("user.email", "<>") .add(...staged) .commit("Auto regenerate files - [Skip GitHub Action]") .push("origin", "master") + console.log(gitted) } + console.log("Success!")