no infinite loops today
This commit is contained in:
@@ -3,7 +3,7 @@ import { $ } from "bun";
|
||||
import path from "path";
|
||||
import { config, indexedConfig } from "./config";
|
||||
import fs from "fs";
|
||||
import { reloadCaddyfile } from "./caddy";
|
||||
import { rebuildCaddyfile } from "./caddy";
|
||||
|
||||
type DeployInstance = {
|
||||
host: string;
|
||||
@@ -33,7 +33,7 @@ export const deploy = async ({ host, commitHash }: DeployInstance) => {
|
||||
|
||||
// Build
|
||||
await $`make build`;
|
||||
reloadCaddyfile();
|
||||
rebuildCaddyfile();
|
||||
|
||||
// Register service
|
||||
const systemdServiceName = `deployer2-${host}.service`;
|
||||
|
||||
Reference in New Issue
Block a user