From b6d08c1ad259f36488ba156138b35d4d6cbac1b4 Mon Sep 17 00:00:00 2001 From: Isaac Turner Date: Thu, 7 Dec 2023 14:04:22 +0800 Subject: [PATCH] write to /tmp locally instead --- src/main/java/edu/wpi/first/gradlerio/deploy/DeployData.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/edu/wpi/first/gradlerio/deploy/DeployData.java b/src/main/java/edu/wpi/first/gradlerio/deploy/DeployData.java index dbc0f6bf..6f8746ee 100644 --- a/src/main/java/edu/wpi/first/gradlerio/deploy/DeployData.java +++ b/src/main/java/edu/wpi/first/gradlerio/deploy/DeployData.java @@ -25,7 +25,7 @@ class DeployLogFile { public String gitHash; public String gitBranch; public String gitDesc; - public static final String LOG_FILE_PATH = "deploy.json"; + public static final String LOG_FILE_PATH = "/tmp/deploy.json"; public File deployFile; public String[] deployItems = { "deployHost", @@ -104,7 +104,7 @@ class DeployLogFile { throw new GradleException("Couldn't write deploy log file", e); } - deployArtifact = new FileArtifact(LOG_FILE_PATH, target); + deployArtifact = new FileArtifact("/home/lvuser/deploy.json", target); target.getArtifacts().add(deployArtifact); }