Skip to content

Commit b6d08c1

Browse files
committed
write to /tmp locally instead
1 parent 7815add commit b6d08c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/edu/wpi/first/gradlerio/deploy/DeployData.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class DeployLogFile {
2525
public String gitHash;
2626
public String gitBranch;
2727
public String gitDesc;
28-
public static final String LOG_FILE_PATH = "deploy.json";
28+
public static final String LOG_FILE_PATH = "/tmp/deploy.json";
2929
public File deployFile;
3030
public String[] deployItems = {
3131
"deployHost",
@@ -104,7 +104,7 @@ class DeployLogFile {
104104
throw new GradleException("Couldn't write deploy log file", e);
105105
}
106106

107-
deployArtifact = new FileArtifact(LOG_FILE_PATH, target);
107+
deployArtifact = new FileArtifact("/home/lvuser/deploy.json", target);
108108

109109
target.getArtifacts().add(deployArtifact);
110110
}

0 commit comments

Comments
 (0)