From 1ffc2c1c99c9e044d0a5afa41dfb57019e66a178 Mon Sep 17 00:00:00 2001 From: Jim Toth Date: Thu, 5 Sep 2024 01:34:37 -0400 Subject: [PATCH] Fail deploy job if any errors are thrown --- deploy.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.mjs b/deploy.mjs index 91fdeac..f7c0427 100755 --- a/deploy.mjs +++ b/deploy.mjs @@ -56,4 +56,4 @@ async function deploy() { ) } -deploy().then().catch(err => console.error(err)) +deploy().then().catch(err => { console.error(err); process.exit(1); })