Test deployment

This commit is contained in:
2025-12-29 21:09:11 +01:00
parent b7dc24a235
commit 182c59e6a7
2 changed files with 77 additions and 8 deletions
+5 -8
View File
@@ -13,15 +13,10 @@ import {
} from "@/components/ui/dialog";
import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
import { Textarea } from "../ui/textarea";
import {
authNode,
getLiveNodes,
getNodes,
setNodes as updateNodes,
} from "@/core/node";
import { getLiveNodes } from "@/core/node";
import { Combobox } from "../ui/combobox";
import { Node, NodeLiveData } from "@/lib/types";
import { deployNewApp } from "@/core/application";
export default function DeployApplication({
children,
@@ -40,7 +35,9 @@ export default function DeployApplication({
fetchNodes();
}, []);
const deploy = () => {};
const deploy = async () => {
console.log(await deployNewApp(name, repo, node));
};
return (
<Dialog>