From e2680d0942155e22501e27fd7e8eb6e59c69ba6b Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Wed, 1 Oct 2025 21:35:27 -0700 Subject: [PATCH] fix deploy --- action/deploy.ts | 2 +- action/run.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/action/deploy.ts b/action/deploy.ts index aa3ad9f85..28143a495 100755 --- a/action/deploy.ts +++ b/action/deploy.ts @@ -1,2 +1,2 @@ import { run } from "./run.ts"; -await run("deploy-komodo", "procedure"); +await run("deploy-komodo"); diff --git a/action/run.ts b/action/run.ts index ba84a67e4..fdb33521a 100644 --- a/action/run.ts +++ b/action/run.ts @@ -1,6 +1,6 @@ import * as TOML from "@std/toml"; -export const run = async (resource_name: string, resource_type = "action") => { +export const run = async (action: string) => { const branch = await new Deno.Command("bash", { args: ["-c", "git rev-parse --abbrev-ref HEAD"], }) @@ -39,7 +39,7 @@ echo "" git push echo "" -km run -y ${resource_type} ${resource_name} "KOMODO_BRANCH=${branch}&KOMODO_VERSION=${version}&KOMODO_TAG=${tag}-${next_count}" +km run -y action ${action} "KOMODO_BRANCH=${branch}&KOMODO_VERSION=${version}&KOMODO_TAG=${tag}-${next_count}" ` .split("\n") .map((line) => line.trim())