automated update
This commit is contained in:
parent
126b6dece5
commit
f3c8163fff
|
@ -28,7 +28,7 @@ const run = (command: string): Promise<string> => {
|
||||||
await run('git commit -m "automated update"')
|
await run('git commit -m "automated update"')
|
||||||
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")
|
||||||
publish("dist", (err) => {
|
publish("dist", (err) => {
|
||||||
if (err)
|
if (err)
|
||||||
rej(err)
|
rej(err)
|
||||||
|
|
Loading…
Reference in a new issue