i can deploy things with a custom message with this script
This commit is contained in:
parent
44ad12b39a
commit
87a5a5a9bc
|
@ -30,7 +30,7 @@ const run = (command: string): Promise<string> => {
|
||||||
if (!args.includes("--skipBuild") && !args.includes("-sb"))
|
if (!args.includes("--skipBuild") && !args.includes("-sb"))
|
||||||
await run("npm run build")
|
await run("npm run build")
|
||||||
await run("git add .")
|
await run("git add .")
|
||||||
await run('git commit -m "${}"')
|
await run(`git commit -m "${message}"`)
|
||||||
await run("git push origin master")
|
await run("git push origin master")
|
||||||
await new Promise((res, rej) => {
|
await new Promise((res, rej) => {
|
||||||
console.log("🏃 Updating github pages")
|
console.log("🏃 Updating github pages")
|
||||||
|
|
Loading…
Reference in a new issue