From a4a277dce2caf59d053017ceb136f24254bc5aa6 Mon Sep 17 00:00:00 2001 From: Daniel McCrystal Date: Sat, 29 Nov 2025 23:54:05 -0500 Subject: [PATCH] yuck --- src/deploy.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/deploy.ts b/src/deploy.ts index 725fecc..6b9f539 100644 --- a/src/deploy.ts +++ b/src/deploy.ts @@ -16,7 +16,7 @@ export const deploy = async ({ host, commitHash }: DeployInstance) => { console.log(`=== ${deploymentId} ===`); console.log({ host, commitHash }); - const deployerDir = await l$`pwd`.text().then((t) => t.trim()); + const deployerDir = path.join(config.directory, "deployer2"); console.log(deployerDir); const service = config.services[host]; @@ -45,6 +45,7 @@ export const deploy = async ({ host, commitHash }: DeployInstance) => { const systemdServiceName = `deployer2-${host}.service`; await l$`cat ${path.join( deployerDir, + "src", "service.template" )} | envsubst > ${path.join(serviceDir, systemdServiceName)}`.env({ host,