From 254e960447e039bef1c5a95c5eafa36d633b2e72 Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 29 Apr 2024 06:50:47 +0100 Subject: [PATCH] WORKKKKKKKKKKKK --- src/main/java/cc/fascinated/piaservers/common/GitUtils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/cc/fascinated/piaservers/common/GitUtils.java b/src/main/java/cc/fascinated/piaservers/common/GitUtils.java index 3bc018c..0cfe15a 100644 --- a/src/main/java/cc/fascinated/piaservers/common/GitUtils.java +++ b/src/main/java/cc/fascinated/piaservers/common/GitUtils.java @@ -30,6 +30,8 @@ public class GitUtils { if (System.getenv("ENVIRONMENT").equals("production")) { System.out.println("Cloning repository"); runCommand("git", "clone", "https://git.fascinated.cc/Fascinated/PIA-Servers.git"); + runCommand("mv", "PIA-Servers/.git", "."); + runCommand("rm", "-rf", "PIA-Servers"); } }