Skip to content

Commit

Permalink
Fail deploy job if any errors are thrown
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-toth authored Sep 5, 2024
1 parent 6bfffb2 commit 1ffc2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ async function deploy() {
)
}

deploy().then().catch(err => console.error(err))
deploy().then().catch(err => { console.error(err); process.exit(1); })

0 comments on commit 1ffc2c1

Please sign in to comment.