pls work
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 38s
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 38s
This commit is contained in:
@ -22,6 +22,15 @@ public class GitUtils {
|
||||
runCommand("git", "push", "https://pia-servers-ci:%s@git.fascinated.cc/Fascinated/PIA-Servers".formatted(System.getenv("AUTH_TOKEN")));
|
||||
}
|
||||
|
||||
/**
|
||||
* Clone the repository
|
||||
*/
|
||||
public static void cloneRepo() {
|
||||
if (System.getenv("ENVIRONMENT").equals("production")) {
|
||||
runCommand("git", "clone", "https://git.fascinated.cc/Fascinated/PIA-Servers.git");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Run a system command
|
||||
*
|
||||
|
Reference in New Issue
Block a user