summaryrefslogtreecommitdiff
path: root/hooks/mod.ts
diff options
context:
space:
mode:
authorElizabeth Alexander Hunt <me@liz.coffee>2025-05-10 17:31:06 -0700
committerElizabeth Alexander Hunt <me@liz.coffee>2025-05-10 18:13:23 -0700
commit3a06e32e2724bcc349bbbfa93c08c23a7c732ad4 (patch)
treeb71504605a45e504cc31cc9ecc22a6346b149c32 /hooks/mod.ts
parentfa8f3f9465e87d499f7d6428323f496a884b7818 (diff)
downloadci-3a06e32e2724bcc349bbbfa93c08c23a7c732ad4.tar.gz
ci-3a06e32e2724bcc349bbbfa93c08c23a7c732ad4.zip
Flesh out ansible playbook job.
Diffstat (limited to 'hooks/mod.ts')
-rw-r--r--hooks/mod.ts5
1 files changed, 3 insertions, 2 deletions
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") {