i can deploy things with a custom message with this script

This commit is contained in:
Matei Adriel 2019-05-27 20:56:01 +03:00
parent 44ad12b39a
commit 87a5a5a9bc

View file

@ -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")