Deploy app

This commit is contained in:
2026-01-03 21:34:35 +01:00
parent 07a37f92df
commit 9d41823e87
9 changed files with 70 additions and 22 deletions
+8
View File
@@ -0,0 +1,8 @@
import simpleGit from "simple-git";
import fs from "fs";
export async function cloneRepo(repoUrl: string, deployPath: string) {
fs.mkdirSync(deployPath, { recursive: true });
const git = simpleGit();
await git.clone(repoUrl, deployPath, ["--depth=1"]);
}