Update index.mjs
This commit is contained in:
4
.github/index.mjs
vendored
4
.github/index.mjs
vendored
@@ -44,11 +44,11 @@
|
||||
|
||||
//Commit and push
|
||||
if (mode === "publish") {
|
||||
console.log(`Pushing staged changes: \n${staged.map(file => ` - ${file}`).join("\n")}`)
|
||||
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)
|
||||
.add([...staged])
|
||||
.commit("Auto regenerate files - [Skip GitHub Action]")
|
||||
.push("origin", "master")
|
||||
console.log(gitted)
|
||||
|
||||
Reference in New Issue
Block a user