From 9ef326cf6170a2354e2a5ff3fd7c449825173f0e Mon Sep 17 00:00:00 2001 From: Kingston Date: Tue, 7 Oct 2025 15:47:06 +0200 Subject: [PATCH 1/2] Throw error when error occurs during deploy --- .changeset/smooth-comics-slide.md | 5 +++++ src/index.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/smooth-comics-slide.md diff --git a/.changeset/smooth-comics-slide.md b/.changeset/smooth-comics-slide.md new file mode 100644 index 0000000..80b4d06 --- /dev/null +++ b/.changeset/smooth-comics-slide.md @@ -0,0 +1,5 @@ +--- +'render-deploy': patch +--- + +Make sure we throw error to error out of render deploy in the event of an error diff --git a/src/index.ts b/src/index.ts index 54cae60..fc10a8f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -32,4 +32,5 @@ await deployService(inputs) }) .catch((error: unknown) => { core.setFailed(error instanceof Error ? error.message : String(error)); + throw error; }); From 72119a28c35756264afdc78bbb91acddf575f47e Mon Sep 17 00:00:00 2001 From: Kingston Date: Tue, 7 Oct 2025 15:49:58 +0200 Subject: [PATCH 2/2] Run build --- dist/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/dist/index.js b/dist/index.js index 5e91a11..e318783 100644 --- a/dist/index.js +++ b/dist/index.js @@ -25723,6 +25723,7 @@ await (0,_deploy_service_js__WEBPACK_IMPORTED_MODULE_1__/* .deployService */ .z) }) .catch((error) => { _actions_core__WEBPACK_IMPORTED_MODULE_0__.setFailed(error instanceof Error ? error.message : String(error)); + throw error; }); __webpack_async_result__();