From 3a06e32e2724bcc349bbbfa93c08c23a7c732ad4 Mon Sep 17 00:00:00 2001 From: Elizabeth Alexander Hunt Date: Sat, 10 May 2025 17:31:06 -0700 Subject: Flesh out ansible playbook job. --- hooks/mod.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hooks/mod.ts') diff --git a/hooks/mod.ts b/hooks/mod.ts index f432b72..a8f649c 100644 --- a/hooks/mod.ts +++ b/hooks/mod.ts @@ -1,9 +1,10 @@ #!/usr/bin/env -S deno run --allow-env --allow-net -import { getStdout, validateIdentifier } from "@liz-ci/utils"; +import { getStdout, validateIdentifier, getRequiredEnv } from "@liz-ci/utils"; -const addr = { port: 9000, hostname: "0.0.0.0" }; +getRequiredEnv("LAMINAR_HOST"); +const addr = { port: 9000, hostname: "0.0.0.0" }; Deno.serve(addr, async (req) => { const { pathname } = new URL(req.url); if (pathname === "/health") { -- cgit v1.2.3-70-g09d2