From a9bbe4dd849f1d4246bf1c84a4e159b98403eab0 Mon Sep 17 00:00:00 2001 From: eko Date: Thu, 27 Nov 2025 22:13:42 +0700 Subject: [PATCH] default action type check --- pkgs/api/_deploy.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/api/_deploy.ts b/pkgs/api/_deploy.ts index 9d4be49..726aa2c 100644 --- a/pkgs/api/_deploy.ts +++ b/pkgs/api/_deploy.ts @@ -40,6 +40,8 @@ export const _ = { ); } + if(action.type == undefined) action.type = "check"; + switch (action.type) { case "check": const deploys = fs.readdirSync(dir(`/app/web/deploy`));