feat(github-webhooks): #186 implement github autodeployment with zero configuration

This commit is contained in:
Mauricio Siu
2024-07-01 23:43:08 -06:00
parent faf24dfa25
commit d2420ed6e8
11 changed files with 143 additions and 95 deletions

View File

@@ -9,7 +9,6 @@ import {
extractCommitMessage,
extractHash,
} from "../[refreshToken]";
import { updateCompose } from "@/server/api/services/compose";
export default async function handler(
req: NextApiRequest,
@@ -56,10 +55,6 @@ export default async function handler(
}
try {
await updateCompose(composeResult.composeId, {
composeStatus: "running",
});
const jobData: DeploymentJob = {
composeId: composeResult.composeId as string,
titleLog: deploymentTitle,